From 14f16c5d27242ff9eaabfb88adb5615d5626aa5f Mon Sep 17 00:00:00 2001 From: Joseph Mearman Date: Sat, 11 Feb 2023 19:21:56 +0000 Subject: [PATCH] Failed file notice staying open Fixes #38 --- main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.js b/main.js index 575f7a66..8f61486d 100644 --- a/main.js +++ b/main.js @@ -215,7 +215,7 @@ class SmartConnectionsPlugin extends Obsidian.Plugin { if(this.settings.failed_files.indexOf(files[i].path) > -1) { // log skipping file console.log("skipping previously failed file, use button in settings to retry"); - Obsidian.Notice("Smart Connections: Skipping previously failed file, use button in settings to retry"); + new Obsidian.Notice("Smart Connections: Skipping previously failed file, use button in settings to retry"); continue; } // skip files where path contains any exclusions