We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c9ef86 commit 17f226aCopy full SHA for 17f226a
src/main.ts
@@ -47,7 +47,7 @@ export default class InstapaperPlugin extends Plugin {
47
48
this.registerEvent(
49
this.app.workspace.on('file-menu', (menu, file) => {
50
- if (file! instanceof TFolder || file.path != this.settings.notesFolder) {
+ if (!(file instanceof TFolder && file.path == this.settings.notesFolder)) {
51
return;
52
}
53
0 commit comments