Skip to content

Commit

Permalink
Ignore false positives in version number check
Browse files Browse the repository at this point in the history
from mac version properties
  • Loading branch information
hhyyrylainen committed Dec 12, 2024
1 parent f3dd115 commit 12129d5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ScriptsBase/Checks/FileTypes/CfgCheck.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ protected override IEnumerable<string> CheckLine(string line, int lineNumber)

if (match.Success)
{
// Ignore false positives from Mac export properties
if (line.Contains("xcode/") || line.Contains("macos_version"))
yield break;

seenVersionNumber = true;

var value = match.Groups[1].Value;
Expand Down

0 comments on commit 12129d5

Please sign in to comment.