Przeglądaj źródła

fixes

pull/10/head
samuel 2 lat temu
rodzic
commit
2739ffa401
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2
    1
      index.js

+ 2
- 1
index.js Wyświetl plik

@@ -2332,7 +2332,7 @@ shell_verse.acquireElevationState().then((isElevated) => {
interpret() {
var interpreted = {}
// Non custom command has universal positiona args.
interpreted.instanceName = processedArgs._[1] ? processedArgs._[1] : null;
processedArgs._[1] ? interpreted.instanceName = processedArgs._[1] : null;
interpreted.runchoice = processedArgs._[0] || selectedinstance.runchoice;
// return clioverrides
// cmds[cmd] = {
@@ -3533,6 +3533,7 @@ shell_verse.acquireElevationState().then((isElevated) => {
elevatedpulltasks = function() {
var eBatch = []
def.elevated.map((def) => getPullTask(def, null, null, null, eBatch))
if(eBatch.length<1) return Promise.resolve(true);
eBatch[0].processedArgs = processedArgs
return shell_verse.runElevatedBatch(eBatch).then(() => {
return true;

Ładowanie…
Anuluj
Zapisz