auto-git:
[change] main.js
This commit is contained in:
4
main.js
4
main.js
@@ -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}`);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user