Update index.js
This commit is contained in:
1
index.js
1
index.js
@@ -113,7 +113,6 @@ async function gitMain() {
|
|||||||
}
|
}
|
||||||
const behind = statusResult.behind
|
const behind = statusResult.behind
|
||||||
if (behind > 0 ) {
|
if (behind > 0 ) {
|
||||||
killProcesses()
|
|
||||||
console.log(`${behind} change behind, pulling...`)
|
console.log(`${behind} change behind, pulling...`)
|
||||||
await git.pull()
|
await git.pull()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user