@infinity-cli/ipublish 1.3.0 → 1.3.1

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.
@@ -47,7 +47,7 @@ const uploadRemoteWithConfig = (config) => __awaiter(void 0, void 0, void 0, fun
47
47
  }
48
48
  }
49
49
  console.log(`开始连接并上传:${ip} ${to}`);
50
- if (typeof jumpIp === 'string') {
50
+ if (typeof jumpIp === 'string' && jumpIp) {
51
51
  spinner.text = '使用跳板机连接';
52
52
  const jumpConfig = {
53
53
  host: jumpIp,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infinity-cli/ipublish",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
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": "6f31e897257bb8b1a59a62fea6f455b80bef4b9f"
38
+ "gitHead": "a175b8097dcb5533b1a8b76d878fc4777c3785a0"
39
39
  }