1
0

Await autoCommit with 'win' parameter in startMonitoringWatcher

This commit is contained in:
2025-05-26 03:03:36 +02:00
parent cc2dd069ba
commit 6a4622b368

View File

@@ -288,7 +288,7 @@ function startMonitoringWatcher(folderPath, win) {
status.renamed.length > 0
) {
const msg = buildCommitMessageFromStatus(status, 'auto-git: ');
await autoCommit(folderPath, msg);
await autoCommit(folderPath, msg, win);
win.webContents.send('repo-updated', folderPath);
}
});