Quellcode durchsuchen

Minor edits

master
guest vor 2 Jahren
Ursprung
Commit
5f952e7448
1 geänderte Dateien mit 13 neuen und 2 gelöschten Zeilen
  1. 13
    2
      index.js

+ 13
- 2
index.js Datei anzeigen

@@ -2337,6 +2337,7 @@ var elxr = {
else {
var t2 = function(){
return performPull(def).then(() => {
console.log('pulled ' + JSON.stringify(def.repo))
return true;
}).catch((e) => {
console.error(e)
@@ -2384,8 +2385,13 @@ var elxr = {
if(def.repos) {
var regularpulltasks = function(){
var pendingpulls = [];
def.repos.forEach((def) => { pendingpulls.push(performPull(def)) })
return Promise.all(pendingpulls).finally(Traq.finally)
def.repos.forEach((def) => {
pendingpulls.push(
performPull(def).then(()=>{ console.log('pulled ' + JSON.stringify(def.repo)) })
.catch(e => { console.log(e); throw e })
)
})
return any(pendingpulls).finally(Traq.finally)
}
regularpulltasks.statuslog = statuslog
}
@@ -4274,6 +4280,11 @@ shell_verse.acquireElevationState().then((elevationstate) => {
})
})
})
// .then( () => {
// console.log(process._getActiveHandles());
// console.log(process._getActiveRequests());
// })


// detect if alread installed -> Take no action.
// download if no installer avalable -> next()

Laden…
Abbrechen
Speichern