crabatool 1.0.221 → 1.0.222

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/package.json +1 -1
  2. package/tool/upgrade.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "crabatool",
3
- "version": "1.0.221",
3
+ "version": "1.0.222",
4
4
  "description": "crabatool",
5
5
  "main": "index.js",
6
6
  "bin": {
package/tool/upgrade.js CHANGED
@@ -83,7 +83,7 @@ class Upgrade {
83
83
 
84
84
  // 如果没有手工记录更新日志,就不需要更新平台,即便是补丁也要手动标记
85
85
  var data = response.data;
86
- if (data.success && data.remark) {
86
+ if (data.success && data.remark && data.remark.length > 0) {
87
87
  console.log(data.remark);
88
88
  that.gitLogs = data.remark; // 先记录日志列表
89
89
  that.updateCraba(); // 需要更新平台