Added a mkdir command to the default config file writer
This commit is contained in:
parent
53cff7824e
commit
3872490236
1
main.d
1
main.d
|
@ -110,6 +110,7 @@ int run(string[] args)
|
|||
if (defaultConfig)
|
||||
{
|
||||
string s = getConfigurationLocation();
|
||||
mkdirRecurse(findSplitBefore(s, "dscanner.ini")[0]);
|
||||
StaticAnalysisConfig saConfig = defaultStaticAnalysisConfig();
|
||||
writeln("Writing default config file to ", s);
|
||||
writeINIFile(saConfig, s);
|
||||
|
|
Loading…
Reference in New Issue