update all the npm after 2 years

This commit is contained in:
fyears
2023-12-17 15:18:23 +08:00
parent 92183e0fb6
commit 44dbec175b
10 changed files with 111 additions and 83 deletions
+2 -3
View File
@@ -976,9 +976,8 @@ export default class RemotelySavePlugin extends Plugin {
const pluginConfigDir =
this.manifest.dir ||
`${this.app.vault.configDir}/plugins/${this.manifest.dir}`;
const pluginConfigDirExists = await this.app.vault.adapter.exists(
pluginConfigDir
);
const pluginConfigDirExists =
await this.app.vault.adapter.exists(pluginConfigDir);
if (!pluginConfigDirExists) {
// what happened?
return;