修复依赖安装状态流转

This commit is contained in:
whyour
2023-05-31 15:07:40 +08:00
parent a7f97bd729
commit f305d45225
3 changed files with 9 additions and 14 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ export class Dependence {
this.status =
typeof options.status === 'number' && DependenceStatus[options.status]
? options.status
: DependenceStatus.installing;
: DependenceStatus.queued;
this.type = options.type || DependenceTypes.nodejs;
this.timestamp = new Date().toString();
this.name = options.name;