auto-git:
[change] main.js
This commit is contained in:
4
main.js
4
main.js
@@ -2079,6 +2079,10 @@ function buildTrayMenu() {
|
|||||||
// Monitoring-Start für fehlenden Ordner: Ignorieren!
|
// Monitoring-Start für fehlenden Ordner: Ignorieren!
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
if (monitoring && !fs.existsSync(path.join(folderPath, '.git'))) {
|
||||||
|
debug(`[STORE] Monitoring für ${folderPath} nicht möglich: kein Git-Repo`);
|
||||||
|
monitoring = false;
|
||||||
|
}
|
||||||
folders = folders.map(f =>
|
folders = folders.map(f =>
|
||||||
f.path === folderPath ? { ...f, monitoring } : f
|
f.path === folderPath ? { ...f, monitoring } : f
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user