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

Commit 91cdd74

Browse files
More tweaks
1 parent 020c6fc commit 91cdd74

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/GitHub.Api/Installer/GitInstaller.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,9 @@ public void SetupGitIfNeeded(ActionTask<NPath> onSuccess, ITask onFailure)
124124
installDetails.GitInstallPath.EnsureParentDirectoryExists();
125125
gitExtractPath.Move(installDetails.GitInstallPath);
126126

127+
Logger.Trace("Deleting targetGitLfsExecPath:\"{0}\"", targetGitLfsExecPath);
128+
targetGitLfsExecPath.DeleteIfExists();
129+
127130
Logger.Trace("Deleting tempZipPath:\"{0}\"", tempZipPath);
128131
tempZipPath.DeleteIfExists();
129132

@@ -138,13 +141,12 @@ public void SetupGitIfNeeded(ActionTask<NPath> onSuccess, ITask onFailure)
138141
}
139142
else
140143
{
141-
Logger.Trace("SetupGitIfNeeded: Failed");
144+
Logger.Warning("SetupGitIfNeeded: Failed");
142145

143146
onFailure.Start();
144147
}
145148
}).Start();
146149
}
147-
148150
}).Start();
149151
}
150152

0 commit comments

Comments
 (0)