Skip to content

Commit

Permalink
fix: use correct path for diff view via command
Browse files Browse the repository at this point in the history
close #397
  • Loading branch information
Vinzent03 committed Dec 7, 2022
1 parent aa3e758 commit 1150351
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 @@ -156,7 +156,7 @@ export default class ObsidianGit extends Plugin {
active: true,
state: {
staged: false,
file: file!.path
file: this.gitManager.getPath(file!.path, true)
}
});
}
Expand Down

0 comments on commit 1150351

Please sign in to comment.