Hot-fix for #570

This commit is contained in:
Sebastian Wilzbach 2018-03-24 12:52:59 +01:00
parent b4ddbd95b7
commit ef9853215d
1 changed files with 1 additions and 1 deletions

View File

@ -487,7 +487,7 @@ bool hasWrongIniFileSection(string confiFilename, bool patch)
static immutable v2 = "dscanner.analysis.config.StaticAnalysisConfig";
char[] c = cast(char[]) readFile(confiFilename);
try if (const ptrdiff_t i = c.indexOf(v1))
try if (c.indexOf(v2) < 0)
{
if (!patch)
{