Skip to content

Commit

Permalink
Expanding env vars in include path suppressions and path suppression …
Browse files Browse the repository at this point in the history
…(as per request in #180)
  • Loading branch information
VioletGiraffe committed Feb 12, 2018
1 parent f803306 commit f48c2af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CPPCheckPlugin/SuppressionsInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@ public void LoadFromFile(string suppressionsFilePath)
}
else if (currentGroup == "cppcheck_files")
{
SkippedFilesMask.Add(line);
SkippedFilesMask.Add(Environment.ExpandEnvironmentVariables(line));
}
else if (currentGroup == "cppcheck_includes")
{
SkippedIncludesMask.Add(line);
SkippedIncludesMask.Add(Environment.ExpandEnvironmentVariables(line));
}
}

Expand Down

0 comments on commit f48c2af

Please sign in to comment.