Skip to content
This repository was archived by the owner on Jul 14, 2023. It is now read-only.

Commit b86d038

Browse files
Fix: test url broken (#9)
1 parent 96270d2 commit b86d038

5 files changed

Lines changed: 9 additions & 4 deletions

File tree

.travis.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
language: node_js
22
node_js:
33
- 9
4-
branch:
4+
- 8
5+
6+
branches:
57
only:
68
- master
9+
710
install:
811
- npm install
912
script:
@@ -20,3 +23,4 @@ deploy:
2023
secure: a4RaA+Wva7aLYO2Zul6ax3yeCQqZF+ZnwfzJ3XeoMHSyE5yHok92Fkt3fv1Q7u6T7VREElnRVRRHz/Ziu/ri6PmajjktmsjZA1TUvA6uvZRejqtJM0z13s7/XF7AgS7sfUSH5f3vm7EVt4FbqoNOliXLi00PJ3Eqw2b/4qKzIKW3bxiou89dsZxwh01YRQjuELjj2sxcecRY4eBCgZ3u5oniP4Tl0SA8kMu5fQ6WUCLP4ohtDtJb6cdCt+UhkJivFZNc2VIPdBqdXUERy7TZQGiaZ/HpgH4Txi4doxjNt5yu2mwren0CBpnkSJSU+IvxHMFj7fya4B1zmp1vaFUm1J/Q3jDVLOXQ2u06QDppeIneU/YuEbOEPR29nUPRXkBbpni5javXTcLC2c1J3tPvuUvCW/MCEanfISlpzfiqMnOPBluY7Djxb2a2TiitOraHtwaXKXzXmAF/0fnDpP9SuLeL1KoFR2H47CbEgPtwtZLUb3GSx/jV35N2yKZ3wUjbdnD88LHXZFV+g23oqyecqJO8emvlMyb6f2Y+kijk8Bdw51Mayl4HYy8ybRY+P4BdT1AQWRqzXoaOxfuHRS5hUlKESYpgb/rLLJedMm9LMUhO5An6fBAcT0WeC+xetcoD9H/7rtpI6cwasJvGybtyaDIxRx7SpyV3RW3XFUWqP1I=
2124
on:
2225
tags: true
26+
node_js: 9

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "get-proxy-settings",
3-
"version": "0.1.7",
3+
"version": "0.1.8",
44
"description": "Retrieve proxy settings specified by the system",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",

src/cli.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ getAndTestProxySettings(login).then((settings) => {
2020

2121
}).catch((e) => {
2222
console.log("Error", e);
23+
rl.close();
2324
});
2425

2526
async function login() {

src/defaults.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ export const defaults = {
22
/**
33
* What url will be used to test the proxy settings.
44
*/
5-
testUrl: "https://bing.com",
5+
testUrl: "https://www.bing.com/",
66
};

0 commit comments

Comments
 (0)