diff --git a/main.js b/main.js index f7f751d..4ab13f1 100755 --- a/main.js +++ b/main.js @@ -1136,7 +1136,6 @@ function addMatchingFilesToGitignore(folderPath, pattern) { } - async function autoCommit(folderPath, message, win) { const git = simpleGit(folderPath); @@ -1152,9 +1151,6 @@ async function autoCommit(folderPath, message, win) { return false; } - - - let currentBranch = null; try { currentBranch = (await git.revparse(['--abbrev-ref', 'HEAD'])).trim();