Force host argument to be string (Int causes error)

This commit is contained in:
Tom 2020-01-04 01:03:48 +00:00
parent 8ad0fbc87b
commit 5dd7446eae
No known key found for this signature in database
GPG key ID: 6A9F111228283C55

View file

@ -4,7 +4,8 @@ const Minimist = require('minimist'),
Gamedig = require('..');
const argv = Minimist(process.argv.slice(2), {
boolean: ['pretty','debug']
boolean: ['pretty','debug'],
string: ['_']
});
const debug = argv.debug;