mirror of
https://github.com/tribufu/node-gamedig
synced 2026-06-01 09:42:41 +00: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…
Add table
Add a link
Reference in a new issue