samuel 3 anni fa
parent
commit
173975efda
1 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. 3
    3
      index.js

+ 3
- 3
index.js Vedi File

@@ -610,17 +610,17 @@ var op = {
var perform_git_remove = (dir) => {
op['is-git-repo'](dir).then((code) => {
// console.log(code)
if (code) {
// if (code) {
nodeShellExec('git', ['remote', 'get-url', remotename], { cwd: dir.name, stdio: 'ignore' }).then(() => {
any(serial_perform_git_remove(dir.name).map(x))
})
.catch((e) => {
console.log('skipped : ' + dir.name + ', reason : No remote named origin')
})
}
// }
// else console.log('Skipped : Not a Git Repo : ' + dir.name)
}).catch((e) => {
// console.log('Failed : ' + dir.name)
console.log('Failed : ' + dir.name)
})
}


Loading…
Annulla
Salva