chore: 增加清理依赖缓存提示

This commit is contained in:
xiaojunnuo
2026-06-21 22:32:51 +08:00
parent 42fcb91f2e
commit 1f1b1858c7
8 changed files with 22 additions and 15 deletions
+2 -2
View File
@@ -150,11 +150,11 @@ export abstract class AbstractTaskPlugin implements ITaskPlugin {
logger!: ILogger;
http!: HttpClient;
accessService!: IAccessService;
runtimeDepsService?: IRuntimeDepsService;
runtimeDepsService!: IRuntimeDepsService;
async importRuntime(specifier: string) {
if (!this.runtimeDepsService) {
return await import(specifier);
throw new Error("runtimeDepsService 未初始化");
}
return await this.runtimeDepsService.importRuntime(specifier, this.logger);
}