boot 任务改为在依赖安装完成后执行

This commit is contained in:
whyour
2025-04-25 23:52:33 +08:00
parent 40a831f3a2
commit 71a7c1b9d3
4 changed files with 29 additions and 13 deletions
+3 -1
View File
@@ -132,10 +132,12 @@ export default class DependenceService {
docs: Dependence[],
isInstall: boolean = true,
force: boolean = false,
) {
): Promise<void> {
docs.forEach((dep) => {
this.installOrUninstallDependency(dep, isInstall, force);
});
return taskLimit.waitDependencyQueueDone();
}
public async reInstall(ids: number[]): Promise<Dependence[]> {