v0.19.21: Fix #27

This commit is contained in:
AJ ONeal 2018-07-05 22:13:56 -06:00
parent 959ed59b2f
commit 9c7a6c6eec
2 changed files with 4 additions and 1 deletions

View File

@ -633,6 +633,9 @@ function parseCli(/*state*/) {
return false; return false;
} }
if (argv[1]) { if (argv[1]) {
if (String(argv[1]) !== String(parseInt(argv[1], 10))) {
argv[1] = path.resolve(argv[1]);
}
utils.putConfig(argv[0], argv.slice(1)); utils.putConfig(argv[0], argv.slice(1));
return true; return true;
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "telebit", "name": "telebit",
"version": "0.19.20", "version": "0.19.21",
"description": "Break out of localhost. Connect to any device from anywhere over any tcp port or securely in a browser. A secure tunnel. A poor man's reverse VPN.", "description": "Break out of localhost. Connect to any device from anywhere over any tcp port or securely in a browser. A secure tunnel. A poor man's reverse VPN.",
"main": "lib/remote.js", "main": "lib/remote.js",
"files": [ "files": [