We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df4c434 commit 478dd02Copy full SHA for 478dd02
MetricsExtractor/Program.cs
@@ -153,7 +153,7 @@ private static List<string> GetProjectsPath(MetricConfiguration metricConfigurat
153
var solutionLines = File.ReadLines(metricConfiguration.Solution).Where(l => l.StartsWith("Project")).ToList();
154
155
const string STR_REGEX = @"Project\(""\{[\w-]+\}""\) = ""(?<name>[\w.]+)"", ""(?<path>.+\.csproj?)"", ""\{[\w-]+\}";
156
- var ignorageWords = metricConfiguration.IgnoredProjects;
+ var ignorageWords = metricConfiguration.IgnoredProjects ?? Enumerable.Empty<string>();
157
var projectsName = (from solutionLine in solutionLines
158
let match = Regex.Match(solutionLine, STR_REGEX)
159
let projectPath = match.Groups["path"].Value
0 commit comments