mirror of
https://github.com/gamedig/node-gamedig.git
synced 2024-11-17 09:18:31 +01:00
Force host argument to be string (Int causes error)
This commit is contained in:
parent
8ad0fbc87b
commit
5dd7446eae
1 changed files with 2 additions and 1 deletions
|
@ -4,7 +4,8 @@ const Minimist = require('minimist'),
|
||||||
Gamedig = require('..');
|
Gamedig = require('..');
|
||||||
|
|
||||||
const argv = Minimist(process.argv.slice(2), {
|
const argv = Minimist(process.argv.slice(2), {
|
||||||
boolean: ['pretty','debug']
|
boolean: ['pretty','debug'],
|
||||||
|
string: ['_']
|
||||||
});
|
});
|
||||||
|
|
||||||
const debug = argv.debug;
|
const debug = argv.debug;
|
||||||
|
|
Loading…
Reference in a new issue