1
0

auto-git:

[change] main.js
This commit is contained in:
2025-06-01 06:38:39 +02:00
parent 3d1f0af17d
commit a1b8881ff6

View File

@@ -500,7 +500,7 @@ async function startMonitoringWatcher(folderPath, win) {
await git.commit('auto-git: Hinzufügen zu .gitignore'); await git.commit('auto-git: Hinzufügen zu .gitignore');
win.webContents.send('repo-updated', folderPath); win.webContents.send('repo-updated', folderPath);
debug(`[WATCHER] "${entry}" zu .gitignore hinzugefügt und committed`); debug(`[WATCHER] "${entry}" zu .gitignore hinzugefügt und committed`);
} }
return; return;
} }
@@ -522,7 +522,7 @@ async function startMonitoringWatcher(folderPath, win) {
// ... Normal weiter committen // ... Normal weiter committen
await doAutoCommitWithIgnoreCheck(); await doAutoCommitWithIgnoreCheck();
}); });
monitoringWatchers.set(folderPath, watcher); monitoringWatchers.set(folderPath, watcher);
debug(`[MONITOR] Watcher aktiv für ${folderPath}`); debug(`[MONITOR] Watcher aktiv für ${folderPath}`);
} }