@setoelkahfi / svara / commits / 7af6b78

removied notif

mellobacon committed Dec 1, 2022 at 01:57 UTC 7af6b78bb3f95ed98762076aa8a9bc826f84e591
1 file changed +1 -1
src/components/Editor/CodeMirrorEditor.svelte
+1 -1
@@ -85,11 +85,11 @@
85 clearTimeout(_);
86 _ = setTimeout(() => {
87 if (!file_info || !file_info.path) {
88 - addNotification(NotifType.Message, "File path not found, cannot save.");
88 console.log("File path not found, cannot save.");
89 }
90 else if (file_info.path !== "") {
91 fs.writeFile(file_info.path, filecontent);
92 + console.log("file saved");
93 }
94 }, 1000)
95 }