mali-applet-ui 1.1.41 → 1.1.42

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/env/index.js +3 -3
  2. package/package.json +1 -1
package/env/index.js CHANGED
@@ -203,8 +203,10 @@ function uploadWxMiniprogram (rootPath, version) {
203
203
  desc: fixDesc,
204
204
  robot
205
205
  }).then((res) => {
206
- console.log(res)
206
+ console.log('ci.upload', res)
207
207
  resolve()
208
+ }).catch((e) => {
209
+ reject(e)
208
210
  })
209
211
  } else {
210
212
  const e = {}
@@ -213,8 +215,6 @@ function uploadWxMiniprogram (rootPath, version) {
213
215
  }
214
216
  deleteFolder(path.resolve(rootPath, 'temp'))
215
217
  fs.unlinkSync(path.resolve(rootPath, 'sm.zip'))
216
-
217
- resolve()
218
218
  })
219
219
  }).catch(e => {
220
220
  if (e.message.indexOf('-80407') > -1) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mali-applet-ui",
3
- "version": "1.1.41",
3
+ "version": "1.1.42",
4
4
  "description": "码里UI-小程序组件库(vue2)",
5
5
  "files": [
6
6
  "lib",