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

Commit 63c4d2f

Browse files
Merge branch 'enhancements/async-git-setup' into enhancements/git-setup-download
2 parents 9426ca4 + 67893ea commit 63c4d2f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/GitHub.Api/Installer/GitInstaller.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,9 +216,9 @@ private bool IsGitExtracted()
216216

217217
var calculateMd5 = environment.FileSystem.CalculateFileMD5(installDetails.GitLfsExecPath);
218218
var md5 = environment.IsWindows ? GitInstallDetails.WindowsGitLfsExecutableMD5 : GitInstallDetails.MacGitLfsExecutableMD5;
219-
if (md5.Equals(calculateMd5, StringComparison.InvariantCultureIgnoreCase))
219+
if (!md5.Equals(calculateMd5, StringComparison.InvariantCultureIgnoreCase))
220220
{
221-
Logger.Trace("{0} has MD5 {1} Excepted {2}", installDetails.GitLfsExecPath, calculateMd5, md5);
221+
Logger.Trace("{0} has MD5 {1} expected {2}", installDetails.GitLfsExecPath, calculateMd5, md5);
222222
return false;
223223
}
224224

0 commit comments

Comments
 (0)