whistle.script 1.2.3 → 1.2.4

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/lib/util.js +1 -1
  2. package/package.json +1 -1
package/lib/util.js CHANGED
@@ -143,7 +143,7 @@ const request = (url, headers, data) => {
143
143
  }
144
144
  return new Promise((resolve, reject) => {
145
145
  const httpModule = options.protocol === 'https:' ? https : http;
146
- options.rejectUnauthorized = true;
146
+ options.rejectUnauthorized = false;
147
147
  const client = httpModule.request(options, (res) => {
148
148
  res.on('error', handleError); // eslint-disable-line
149
149
  let body;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "whistle.script",
3
3
  "description": "The plugin for the extension script for whistle",
4
- "version": "1.2.3",
4
+ "version": "1.2.4",
5
5
  "author": "avenwu <avenwu@vip.qq.com>",
6
6
  "contributors": [],
7
7
  "license": "MIT",