Remove callback support and global Gamedig.debug option

This commit is contained in:
mmorrison 2019-01-12 22:38:49 -06:00
parent fdc08b5c09
commit dfa5c95efc
5 changed files with 28 additions and 46 deletions

View file

@ -27,8 +27,9 @@ if (argv._.length >= 1) {
options.port = split[1];
}
}
if(debug) Gamedig.debug = true;
if (debug) {
options.debug = true;
}
Gamedig.query(options)
.then((state) => {