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

Commit 360481d

Browse files
authored
Merge pull request #163 from github-for-unity/fixes/git-client-file-comparison
Git Client comparison fix
2 parents 8df3d9d + 25a5741 commit 360481d

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)