Skip to content

Commit 7b14189

Browse files
committed
fix: 🚑️ fix a regression from eager code refactoring with file renames
1 parent 4cbda0f commit 7b14189

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/deduplicating-vault-writer.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ export class DeduplicatingVaultWriter {
128128

129129
if (newPath !== file.path) {
130130
this.logger.debug(`Renamed file from ${file.path} to ${newPath}`);
131-
await this.vault.rename(file, newPath);
131+
await this.app.fileManager.renameFile(file, newPath);
132132
}
133133
}
134134
} catch (err) {

0 commit comments

Comments
 (0)