@taole/deploy-helper 0.2.1 → 0.2.2

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.
Files changed (2) hide show
  1. package/index.mjs +3 -3
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -92,10 +92,10 @@ async function main() {
92
92
  return;
93
93
  }
94
94
 
95
- const hasChangeMe = hasChangeMe(JSON.stringify(config));
96
- if (hasChangeMe) {
95
+ const result = hasChangeMe(JSON.stringify(config));
96
+ if (result) {
97
97
  console.log(`配置中存在默认值(CHANGE_ME), 请先修改配置`);
98
- return;
98
+ process.exit(1);
99
99
  }
100
100
 
101
101
  // 需要处理entry
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taole/deploy-helper",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "脚本部署工具,用于将项目部署到测试环境或生产环境",
5
5
  "main": "index.mjs",
6
6
  "type": "module",