fix: cleanup for plugin submission (tasks 9-13)
- Remove unused vault.delete() method in favor of trashFile() - Replace \x00-\x1F with \u0000-\u001F for clearer regex syntax - Verify no unused imports, variables, or scoping issues All cleanup tasks verified with tsc --noUnusedLocals --noUnusedParameters
This commit is contained in:
@@ -43,10 +43,6 @@ export class VaultAdapter implements IVaultAdapter {
|
||||
await this.vault.modify(file, data);
|
||||
}
|
||||
|
||||
async delete(file: TAbstractFile): Promise<void> {
|
||||
await this.vault.delete(file);
|
||||
}
|
||||
|
||||
async trash(file: TAbstractFile, system: boolean): Promise<void> {
|
||||
await this.vault.trash(file, system);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user