mirror of
https://github.com/whyour/qinglong.git
synced 2026-12-01 18:40:37 +08:00
boot 任务改为在依赖安装完成后执行
This commit is contained in:
1 parent
40a831f3a2
commit
71a7c1b9d3
4 files changed
+29
-13
No files matched your search
@@ -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[]> {
|
||||
|
||||
Reference in new issue
Block a user