Merge pull request #595 from BBasile/tabs
fix spaces indentation merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
This commit is contained in:
commit
b86b54bf7c
|
@ -143,8 +143,8 @@ else
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!errorFormat.length)
|
if (!errorFormat.length)
|
||||||
errorFormat = defaultErrorFormat;
|
errorFormat = defaultErrorFormat;
|
||||||
|
|
||||||
const(string[]) absImportPaths = importPaths.map!(a => a.absolutePath()
|
const(string[]) absImportPaths = importPaths.map!(a => a.absolutePath()
|
||||||
.buildNormalizedPath()).array();
|
.buildNormalizedPath()).array();
|
||||||
|
@ -234,8 +234,8 @@ else
|
||||||
string s = configLocation is null ? getConfigurationLocation() : configLocation;
|
string s = configLocation is null ? getConfigurationLocation() : configLocation;
|
||||||
if (s.exists())
|
if (s.exists())
|
||||||
readINIFile(config, s);
|
readINIFile(config, s);
|
||||||
if (skipTests)
|
if (skipTests)
|
||||||
config.enabled2SkipTests;
|
config.enabled2SkipTests;
|
||||||
if (report)
|
if (report)
|
||||||
generateReport(expandArgs(args), config, cache, moduleCache);
|
generateReport(expandArgs(args), config, cache, moduleCache);
|
||||||
else
|
else
|
||||||
|
@ -422,13 +422,13 @@ string getDefaultConfigurationLocation()
|
||||||
configDir = buildPath(configDir, "dscanner", CONFIG_FILE_NAME);
|
configDir = buildPath(configDir, "dscanner", CONFIG_FILE_NAME);
|
||||||
return configDir;
|
return configDir;
|
||||||
}
|
}
|
||||||
else version(Windows)
|
else version(Windows)
|
||||||
{
|
{
|
||||||
string configDir = environment.get("APPDATA", null);
|
string configDir = environment.get("APPDATA", null);
|
||||||
enforce(configDir !is null, "%APPDATA% is unset");
|
enforce(configDir !is null, "%APPDATA% is unset");
|
||||||
configDir = buildPath(configDir, "dscanner", CONFIG_FILE_NAME);
|
configDir = buildPath(configDir, "dscanner", CONFIG_FILE_NAME);
|
||||||
return configDir;
|
return configDir;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue