auto-git:
[change] main.js
This commit is contained in:
4
main.js
4
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();
|
||||
|
||||
Reference in New Issue
Block a user