We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3495cdb commit 14615ceCopy full SHA for 14615ce
src/main.ts
@@ -98,7 +98,6 @@ export default class CircuitSketcherPlugin extends Plugin {
98
99
const libraryFile = this.app.vault.getAbstractFileByPath(this.settings.libraryPath);
100
101
- //return await this.app.vault.read(libraryFile as TFile);
102
if (libraryFile instanceof TFile) {
103
return await this.app.vault.read(libraryFile);
104
}
@@ -121,6 +120,5 @@ export default class CircuitSketcherPlugin extends Plugin {
121
120
} else {
122
throw new Error("Library file is not a valid TFile");
123
124
- //await this.app.vault.modify(libraryFile as TFile, content);
125
126
0 commit comments