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

Commit 624cbe9

Browse files
committed
Fix scenario where we're using a git path from settings
1 parent 3fbd62b commit 624cbe9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/GitHub.Api/Application/ApplicationManagerBase.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,10 @@ public void Run(bool firstRun)
8282
initializeGitTask.OnEnd += (t, path, _, __) =>
8383
{
8484
if (path.IsInitialized)
85+
{
86+
t.GetEndOfChain().Then(initEnvironmentTask, taskIsTopOfChain: true);
8587
return;
86-
88+
}
8789
Logger.Trace("Using portable git");
8890

8991
var gitInstaller = new GitInstaller(Environment, ProcessManager, TaskManager);

0 commit comments

Comments
 (0)