@pippit-dev/cli 1.0.4 → 1.0.5

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/checksums.txt CHANGED
@@ -1,6 +1,6 @@
1
- 889fabfbe3bd94cfeb34f9e3ee5fd9c2b39d5ab57f13e8b2c257dfca142bb2ce pippit-tool-cli-1.0.4-darwin-amd64.tar.gz
2
- 8c54acc247b9f7050697fd2c52f3df84558fcfe01db3c7e186b4741294738236 pippit-tool-cli-1.0.4-darwin-arm64.tar.gz
3
- 45de9614ed9b4241775f0451e603ab833484810def2eed31e4b3673a9cfe283d pippit-tool-cli-1.0.4-linux-amd64.tar.gz
4
- 44852e1542b44085d543f2f2672ae9793e6e6bf7457ec90f7efcf46e3e252820 pippit-tool-cli-1.0.4-linux-arm64.tar.gz
5
- 4b921069137fbe129973dbceae7fdbaa8a8f5cc2803ff3347b1e21452c3b9946 pippit-tool-cli-1.0.4-windows-amd64.zip
6
- adf357fab99845e47933669d0fef8395189e023f69546454f61e4aca14392195 pippit-tool-cli-1.0.4-windows-arm64.zip
1
+ 49044de4df08065cb51223c192dffa9e67d19c7a7013d5cd1c9e40125c5f4481 pippit-tool-cli-1.0.5-darwin-amd64.tar.gz
2
+ 22708f0a82207cbf1715297a71f0c926b2a29a1adf6cfc7192767ea5cbc43f0c pippit-tool-cli-1.0.5-darwin-arm64.tar.gz
3
+ 9a0b0139343013f3296fa81b4ea21060580a682485ffa34a8b4241621496ae89 pippit-tool-cli-1.0.5-linux-amd64.tar.gz
4
+ 4b08d015ea34b3e92a00fed7c91731614bd19571812889c5c84b36d976c5d667 pippit-tool-cli-1.0.5-linux-arm64.tar.gz
5
+ 74932104a77ddb87c9388eb8549fe1951c1d437433e0bd836e66995b0dfb5d32 pippit-tool-cli-1.0.5-windows-amd64.zip
6
+ 1219784da1a712bb722a1348d342371783b21141db061817c672a3dd488c868c pippit-tool-cli-1.0.5-windows-arm64.zip
@@ -89,9 +89,6 @@ func UploadFile(ctx context.Context, opts UploadFileOptions, runner *Runner) (*U
89
89
  }
90
90
 
91
91
  assetID := strings.TrimSpace(resp.Data.PippitAssetID)
92
- if assetID == "" {
93
- assetID = strings.TrimSpace(resp.Data.AssetID)
94
- }
95
92
  if assetID == "" {
96
93
  return nil, fmt.Errorf("上传文件响应缺少 pippit_asset_id")
97
94
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pippit-dev/cli",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "Pippit CLI",
5
5
  "bin": {
6
6
  "pippit-tool-cli": "scripts/run.js"