TagSpaces is an offline, open source, document manager with tagging support
js styling
uggrock39f1087e008c
diff --git a/data/electron/electron.api.js b/data/electron/electron.api.jsindex 8794a47e6..8c381fcb1 100644--- a/data/electron/electron.api.js+++ b/data/electron/electron.api.js@@ -724,7 +724,7 @@ define(function(require, exports, module) {reject($.i18n.t("ns.common:fileIsDirectory", {fileName: filePath}));return;} else if (!fs.existsSync(filePath)) {- reject("Source file does not exists " +filePath, $.i18n.t("ns.common:fileRenameFailed"));+ reject("Source file does not exists " + filePath, $.i18n.t("ns.common:fileRenameFailed"));return;} else if (fs.existsSync(newFilePath)) {reject($.i18n.t("ns.common:fileExists", {fileName: newFilePath}), $.i18n.t("ns.common:fileRenameFailed"));