Skip to content

Commit

Permalink
More clear like this
Browse files Browse the repository at this point in the history
  • Loading branch information
psfinaki authored and daveaglick committed Oct 31, 2022
1 parent 071979f commit d20808d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Buildalyzer/AnalyzerResult.cs
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ public string GetProperty(string name) =>
&& !string.Equals(Path.GetFileName(x.Item2), "csc.exe", StringComparison.OrdinalIgnoreCase))
.Select(x => AnalyzerManager.NormalizePath(Path.Combine(Path.GetDirectoryName(ProjectFilePath), x.Item2)))
.ToArray() ?? _fscCommandLineArguments
?.Where(x => x.Item1 == null && x.Item2 != null
&& !x.Item2.Contains("fsc.dll")
&& !x.Item2.Contains("fsc.exe"))
?.Where(x => x.Item1 == null
&& x.Item2?.Contains("fsc.dll") == false
&& x.Item2?.Contains("fsc.exe") == false)
.Select(x => AnalyzerManager.NormalizePath(Path.Combine(Path.GetDirectoryName(ProjectFilePath), x.Item2)))
.ToArray() ?? _vbcCommandLineArguments
?.Where(x => x.Item1 == null && !_assemblyObjects.Contains(Path.GetFileName(x.Item2), StringComparer.OrdinalIgnoreCase))
Expand Down

0 comments on commit d20808d

Please sign in to comment.