@infinity-cli/ipublish 1.3.1 → 1.3.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.
@@ -92,7 +92,7 @@ const uploadRemoteWithConfig = (config) => __awaiter(void 0, void 0, void 0, fun
92
92
  }
93
93
  catch (error) {
94
94
  (0, rimraf_1.default)(zipPath, () => { });
95
- spinner.fail('文件上传失败');
95
+ spinner.fail(`文件上传失败: ${error instanceof Error ? error.message : String(error)}`);
96
96
  process.exit(1);
97
97
  }
98
98
  function execCmd() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infinity-cli/ipublish",
3
- "version": "1.3.1",
3
+ "version": "1.3.2",
4
4
  "license": "ISC",
5
5
  "description": "上传服务器文件",
6
6
  "main": "dist/lib/index.js",
@@ -35,5 +35,5 @@
35
35
  "ora": "5",
36
36
  "rimraf": "^3.0.2"
37
37
  },
38
- "gitHead": "a175b8097dcb5533b1a8b76d878fc4777c3785a0"
38
+ "gitHead": "d01b55d6d36804e0296e7767fde492ec5f9636af"
39
39
  }