浏览代码

push changes

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

+ 2
- 1
index.js 查看文件

@@ -102,7 +102,8 @@ var getPullCmd = (repo, branch) => {

var performPull = (repo, branch) => {
if (existsSync(instanceroot + '/' + repo)) {
console.log('pulling ' + instanceroot + '/' + repo + 'branch ' + branch)
var branchprint = branch ? ' branch :' + branch : '';
console.log('pulling ' + instanceroot + '/' + repo + branchprint )
return nodeShellExec.apply(null, getPullCmd(repo, branch)).then(() => {
if (__isElevated) {
fs.writeFileSync('run.log', ', ' + JSON.stringify({ repo, success: true }), { 'flag': 'a+' })

正在加载...
取消
保存