[auto]
[change] main.js
This commit is contained in:
2
main.js
2
main.js
@@ -139,7 +139,7 @@ function startMonitoringWatcher(folderPath, win) {
|
|||||||
status.deleted.length > 0 ||
|
status.deleted.length > 0 ||
|
||||||
status.renamed.length > 0
|
status.renamed.length > 0
|
||||||
) {
|
) {
|
||||||
const msg = buildCommitMessageFromStatus(status, '[auto] initial monitor:');
|
const msg = buildCommitMessageFromStatus(status, '[auto] ');
|
||||||
const did = await autoCommit(folderPath, msg);
|
const did = await autoCommit(folderPath, msg);
|
||||||
if (did) {
|
if (did) {
|
||||||
win.webContents.send('repo-updated', folderPath);
|
win.webContents.send('repo-updated', folderPath);
|
||||||
|
|||||||
Reference in New Issue
Block a user