esa-cli 1.0.4-beta.3 → 1.0.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.
- package/dist/utils/installEw2.js +3 -3
- package/package.json +1 -1
package/dist/utils/installEw2.js
CHANGED
|
@@ -8,7 +8,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
8
8
|
});
|
|
9
9
|
};
|
|
10
10
|
import { execSync } from 'child_process';
|
|
11
|
-
import
|
|
11
|
+
import http from 'http';
|
|
12
12
|
import os from 'os';
|
|
13
13
|
import path from 'path';
|
|
14
14
|
import util from 'util';
|
|
@@ -65,8 +65,8 @@ export function preCheckEw2() {
|
|
|
65
65
|
}
|
|
66
66
|
export function fetchRemoteManifest() {
|
|
67
67
|
return new Promise((resolve, reject) => {
|
|
68
|
-
|
|
69
|
-
.get('
|
|
68
|
+
http
|
|
69
|
+
.get('http://esa-runtime.myalicdn.com/ew2/manifest.json', (res) => {
|
|
70
70
|
let data = '';
|
|
71
71
|
res.on('data', (chunk) => (data += chunk));
|
|
72
72
|
res.on('end', () => {
|