Browse Source

Elxr fixes

production
samuel 3 years ago
parent
commit
173975efda
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      index.js

+ 3
- 3
index.js View 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…
Cancel
Save