Explorar el Código

push changes

production
samuel hace 3 años
padre
commit
f28962f1de
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2
    1
      index.js

+ 2
- 1
index.js Ver fichero

@@ -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+' })

Cargando…
Cancelar
Guardar