Skip to content
This repository has been archived by the owner on Dec 25, 2023. It is now read-only.

Commit

Permalink
Fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalberger committed Jul 27, 2021
1 parent 547e939 commit 215bfba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Cake.Issues.DocFx/DocFxIssuesProvider.cs
Expand Up @@ -134,7 +134,7 @@ private static IssuePriority GetPriority(string severity)
fileName = fileName.Substring(this.Settings.RepositoryRoot.FullPath.Length);

// Remove leading directory separator.
if (fileName.StartsWith("/"))
if (fileName.StartsWith("/", StringComparison.InvariantCulture))
{
fileName = fileName.Substring(1);
}
Expand Down

0 comments on commit 215bfba

Please sign in to comment.