sparrow-ci 1.0.5 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/ci.js +2 -2
- package/package.json +1 -1
package/bin/ci.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @Author: wangqi
|
|
3
3
|
* @Date: 2022-08-12 15:56:29
|
|
4
4
|
* @LastEditors: wangqi
|
|
5
|
-
* @LastEditTime: 2022-09-
|
|
5
|
+
* @LastEditTime: 2022-09-03 10:15:33
|
|
6
6
|
* @FilePath: /sparrow-ci/bin/ci.js
|
|
7
7
|
* @Description:
|
|
8
8
|
*/
|
|
@@ -68,7 +68,7 @@ class Ci {
|
|
|
68
68
|
// cli.js是否存在
|
|
69
69
|
this.cliFileExisted = await this.checkCliFileCreated();
|
|
70
70
|
if (!this.cliFileExisted) { // 没有创建cli.js文件,就需要创建
|
|
71
|
-
this.version = createVersion(); // 初始化版本号
|
|
71
|
+
// this.version = createVersion(); // 初始化版本号
|
|
72
72
|
const createCliFileSuccess = await this.createCliFile();
|
|
73
73
|
if (!createCliFileSuccess) return; // cli.js文件没有创建成功直接返回
|
|
74
74
|
|