Skip to content

Commit

Permalink
fix: use correct git implementation
Browse files Browse the repository at this point in the history
close #387
close #386
  • Loading branch information
Vinzent03 committed Nov 27, 2022
1 parent c582f12 commit 2def322
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ export default class ObsidianGit extends Plugin {
this.showNotices();

try {
if (!Platform.isDesktopApp) {
if (Platform.isDesktopApp) {
this.gitManager = new SimpleGit(this);
await (this.gitManager as SimpleGit).setGitInstance();

Expand Down

0 comments on commit 2def322

Please sign in to comment.