浏览代码

Merge branch 'master' of http://git.bbh/chess/elxr

production
chess 3 年前
父节点
当前提交
fc4ebda96f
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      index.js

+ 2
- 2
index.js 查看文件

@@ -693,9 +693,9 @@ var op = {
// console.dir(env)
console.log('Running exlr pull : ' + path.dirname(__dirname))

if (!processedArgs.runas) gitRepos.map((repo) => performPull(repo, 'master'))
if (!processedArgs.runas) gitRepos.map((def) => performPull(def.repo, def.branch || 'master'))
if (__isElevated) {
return any(elevatedRunasRepos.map((repo) => performPull(repo, 'master'))).then(() => {
return any(elevatedRunasRepos.map((repo) => performPull(def.repo, def.branch || 'master'))).then(() => {
fs.writeFileSync('run.done', 'success')
}).catch(() => {
fs.writeFileSync('run.done', 'error')

正在加载...
取消
保存