Sfoglia il codice sorgente

Fix for new repo manifest format

pull/4/head
pb 3 anni fa
parent
commit
5510c6b7ea
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2
    2
      index.js

+ 2
- 2
index.js Vedi File

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

Loading…
Annulla
Salva