mirror of
https://github.com/idanlib/ObsidianFastForwardLinkPlugin.git
synced 2026-07-22 11:30:28 +00:00
improvements - remove comments
This commit is contained in:
parent
cd09e45843
commit
dd4989d8cd
2 changed files with 0 additions and 2 deletions
|
|
@ -61,7 +61,6 @@ export default class RedirectSettingsTab extends PluginSettingTab {
|
|||
}
|
||||
|
||||
try {
|
||||
// this.app.vault.delete(forwardsFolder, true);
|
||||
await this.app.fileManager.trashFile(forwardsFolder);
|
||||
new Notice(
|
||||
"_forwards folder deleted successfully.",
|
||||
|
|
|
|||
1
main.ts
1
main.ts
|
|
@ -145,7 +145,6 @@ export default class RedirectPlugin extends Plugin {
|
|||
|
||||
private async deleteNote(orgRedirectingNote: TFile): Promise<void> {
|
||||
try {
|
||||
// await this.app.vault.delete(orgRedirectingNote);
|
||||
await this.app.fileManager.trashFile(orgRedirectingNote);
|
||||
} catch (error) {
|
||||
new Notice(
|
||||
|
|
|
|||
Loading…
Reference in a new issue