Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit 25a5741

Browse files
Git Client comparison fix
1 parent 88adbf1 commit 25a5741

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GitHub.Api/Git/GitClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ private Task<NPath> LookForPortableGit()
119119
var searchPath = "PortableGit_";
120120

121121
var portableGitPath = gitHubLocalAppDataPath.Directories()
122-
.Where(s => s.FileName.StartsWith(searchPath, StringComparison.InvariantCultureIgnoreCase))
122+
.Where(s => s.FileName.StartsWith(searchPath, StringComparison.OrdinalIgnoreCase))
123123
.FirstOrDefault();
124124

125125
if (portableGitPath != null)

0 commit comments

Comments
 (0)