Skip to content

Commit 2def322

Browse files
committed
fix: use correct git implementation
close #387 close #386
1 parent c582f12 commit 2def322

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ export default class ObsidianGit extends Plugin {
548548
this.showNotices();
549549

550550
try {
551-
if (!Platform.isDesktopApp) {
551+
if (Platform.isDesktopApp) {
552552
this.gitManager = new SimpleGit(this);
553553
await (this.gitManager as SimpleGit).setGitInstance();
554554

0 commit comments

Comments
 (0)