auto-point 0.0.29 → 0.0.30

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/AP/auto_point.js +2 -1
  2. package/package.json +1 -1
package/AP/auto_point.js CHANGED
@@ -92,7 +92,8 @@
92
92
  if (server && /^https?:\/\//.test(server)) { // server 是一个url
93
93
  return true
94
94
  } else {
95
- throw "The server in params cannot be empty"
95
+ message && this.#ERROR(message)
96
+ return false
96
97
  }
97
98
  }
98
99
 
package/package.json CHANGED
@@ -13,5 +13,5 @@
13
13
  "scripts": {
14
14
  "test": "echo \"Error: no test specified\" && exit 1"
15
15
  },
16
- "version": "0.0.29"
16
+ "version": "0.0.30"
17
17
  }