Skip to content

Commit

Permalink
Use InvariantCultureIgnoreCase
Browse files Browse the repository at this point in the history
  • Loading branch information
IT-VBFK committed Jan 9, 2023
1 parent 274abe7 commit 2b9f860
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Build/Build.cs
Expand Up @@ -285,10 +285,10 @@ class Build : NukeBuild
string YarnCli => $"{ToolPathResolver.GetPackageExecutable("Yarn.MSBuild", "yarn.js", "1.22.19")} --silent";

bool HasDocumentationChanges =>
Changes.Any(x => x.StartsWith("docs"));
Changes.Any(x => x.StartsWith("docs", StringComparison.InvariantCultureIgnoreCase));

bool HasSourceChanges =>
Changes.Any(x => !x.StartsWith("docs"));
Changes.Any(x => !x.StartsWith("docs", StringComparison.InvariantCultureIgnoreCase));

string[] Changes =>
Repository.Diff
Expand Down

0 comments on commit 2b9f860

Please sign in to comment.