Skip to content

Commit

Permalink
fix: correct git dir for clone on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
Vinzent03 committed Feb 25, 2023
1 parent fd294cc commit 0b06487
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/isomorphicGit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export class IsomorphicGit extends GitManager {
return {
fs: this.fs,
dir: this.plugin.settings.basePath,
gitdir: this.plugin.settings.gitDir ?? undefined,
gitdir: this.plugin.settings.gitDir || undefined,
onAuth: () => {
return {
username: this.plugin.localStorage.getUsername() ?? undefined,
Expand Down

0 comments on commit 0b06487

Please sign in to comment.