Added a mkdir command to the default config file writer

This commit is contained in:
Hackerpilot 2014-07-08 15:33:32 -07:00
parent 53cff7824e
commit 3872490236
1 changed files with 1 additions and 0 deletions

1
main.d
View File

@ -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);