mirror of
https://github.com/tribufu/node-gamedig
synced 2026-06-01 09:42:41 +00:00
Use @types/node@8.0.0 to validate (and fix) small node 8 api issues
This commit is contained in:
parent
916d03f879
commit
f0a24b8f65
9 changed files with 49 additions and 43 deletions
|
|
@ -9,7 +9,7 @@ class BuildAndShoot extends Core {
|
|||
|
||||
let m;
|
||||
|
||||
m = body.match(/status server for (.*?)\.?(\r|\n)/);
|
||||
m = body.match(/status server for (.*?)\.?[\r\n]/);
|
||||
if(m) state.name = m[1];
|
||||
|
||||
m = body.match(/Current uptime: (\d+)/);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue