Skip to content

Commit 5346fc8

Browse files
committed
fix: use custom git path
close #820
1 parent b81902e commit 5346fc8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/gitManager/simpleGit.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ export class SimpleGit extends GitManager {
6464
baseDir: basePath,
6565
binary:
6666
this.plugin.localStorage.getGitPath() ||
67-
this.useDefaultWindowsGitPath
67+
(this.useDefaultWindowsGitPath
6868
? DEFAULT_WIN_GIT_PATH
69-
: undefined,
69+
: undefined),
7070
config: ["core.quotepath=off"],
7171
unsafe: {
7272
allowUnsafeCustomBinary: true,

0 commit comments

Comments
 (0)