mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
install: update
This commit is contained in:
1 parent
8d15219757
commit
215a3d07e0
5 files changed
+17
-16
No files matched your search
+11
-1
@@ -229,7 +229,17 @@ for (let i = 0; i < steps.length; i++) {
|
||||
retry++;
|
||||
} else log.fatal('Error when running %s', op[0]);
|
||||
}
|
||||
} else op[0](op[1]);
|
||||
} else {
|
||||
let res = 'retry';
|
||||
retry = 0;
|
||||
while (res === 'retry') {
|
||||
if (retry < 30) {
|
||||
log.warn('Retry...');
|
||||
res = op[0](op[1]);
|
||||
retry++;
|
||||
} else log.fatal('Error installing');
|
||||
}
|
||||
}
|
||||
}
|
||||
} else log.info('已跳过该步骤 / Step skipped');
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user