From 6a4622b36832eb74fbf5c606e4b2e85a2ce93b44 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Mon, 26 May 2025 03:03:36 +0200 Subject: [PATCH] Await autoCommit with 'win' parameter in startMonitoringWatcher --- main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.js b/main.js index dc5f67a..0c21b4a 100644 --- a/main.js +++ b/main.js @@ -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); } });