mirror of
https://github.com/whyour/qinglong.git
synced 2026-12-01 01:39:52 +08:00
依赖改为串行安装
This commit is contained in:
1 parent
8b1906c786
commit
8d2c62d6d1
2 files changed
+17
-9
No files matched your search
@@ -27,11 +27,7 @@ export default async () => {
|
||||
if (Object.prototype.hasOwnProperty.call(groups, key)) {
|
||||
const group = groups[key];
|
||||
const depIds = group.map((x) => x.id);
|
||||
for (const dep of depIds) {
|
||||
if (dep) {
|
||||
await dependenceService.reInstall([dep]);
|
||||
}
|
||||
}
|
||||
await dependenceService.reInstall(depIds as number[]);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user