Skip to content

Commit 725461b

Browse files
MarcoScabbioloSBoudrias
authored andcommittedApr 14, 2018
Added global-tunnel-ng to allow usage behind a proxy (#573)
1 parent 3134157 commit 725461b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed
 

‎lib/cli.js

+3
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ const Router = require('./router');
1616

1717
const gens = list(process.argv.slice(2));
1818

19+
// Override http networking to go through a proxy ifone is configured
20+
require('global-tunnel-ng').initialize();
21+
1922
/* eslint new-cap: 0, no-extra-parens: 0 */
2023
const tabtab = new Tabtab.Commands.default({
2124
name: 'yo',

‎package.json

+1
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
"cross-spawn": "^5.0.1",
4949
"figures": "^2.0.0",
5050
"fullname": "^3.2.0",
51+
"global-tunnel-ng": "^2.1.1",
5152
"got": "^8.0.3",
5253
"humanize-string": "^1.0.0",
5354
"inquirer": "^3.0.1",

0 commit comments

Comments
 (0)
Please sign in to comment.