We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a3dade3 commit 9844602Copy full SHA for 9844602
lib/cli.js
@@ -15,16 +15,7 @@ const Router = require('./router');
15
16
const gens = list(process.argv.slice(2));
17
18
-// Override http networking to go through a proxy ifone is configured
19
-const MAJOR_NODEJS_VERSION = Number.parseInt(process.version.slice(1).split('.')[0], 10);
20
-
21
-if (MAJOR_NODEJS_VERSION >= 10) {
22
- // `global-agent` works with Node.js v10 and above.
23
- require('global-agent').bootstrap();
24
-} else {
25
- // `global-tunnel-ng` works only with Node.js v10 and below.
26
- require('global-tunnel-ng').initialize();
27
-}
+require('global-agent').bootstrap();
28
29
/* eslint new-cap: 0, no-extra-parens: 0 */
30
const tabtab = new Tabtab.Commands.default({
0 commit comments