Comparing version 1.2.0 to 1.2.1
@@ -52,2 +52,3 @@ 'use strict'; | ||
} | ||
this.upInfo.name = this.name; | ||
this.upInfo.ver = ver; | ||
@@ -54,0 +55,0 @@ } |
@@ -56,2 +56,5 @@ 'use strict'; | ||
await cfg.save(); | ||
if(cfg.debug){ | ||
console.log("begin update"); | ||
} | ||
await update.run(cfg); | ||
@@ -58,0 +61,0 @@ } |
@@ -30,3 +30,3 @@ { | ||
], | ||
"version": "1.2.0" | ||
"version": "1.2.1" | ||
} |
@@ -8,3 +8,3 @@ 'use strict'; | ||
appName: "test", | ||
appVer: "1.1", | ||
appVer: "1.2", | ||
rootPath: process.cwd(), // 系统根目录. | ||
@@ -11,0 +11,0 @@ debug: false, // 是否输出错误日志. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9808
308