瀏覽代碼

Elxr fixes

pull/4/head
samuel 3 年之前
父節點
當前提交
173975efda
共有 1 個檔案被更改,包括 3 行新增3 行删除
  1. 3
    3
      index.js

+ 3
- 3
index.js 查看文件

@@ -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…
取消
儲存