mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-01 04:40:38 +08:00
boot 任务改为在依赖安装完成后执行
This commit is contained in:
@@ -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