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

Commit 353cabc

Browse files
Using the incorrect path from the FindPath task
1 parent cb1ca4c commit 353cabc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/UnityExtension/Assets/Editor/GitHub.Unity/UI/SettingsView.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -480,10 +480,10 @@ private void OnInstallPathGUI()
480480
}
481481
}
482482

483-
if (success && !string.IsNullOrEmpty(path))
483+
if (success)
484484
{
485-
Manager.SystemSettings.Set(Constants.GitInstallPathKey, gitExecPath);
486-
Environment.GitExecutablePath = gitExecPath.ToNPath();
485+
Manager.SystemSettings.Set(Constants.GitInstallPathKey, path);
486+
Environment.GitExecutablePath = path;
487487
}
488488
}).Start();
489489
}

0 commit comments

Comments
 (0)