prettyify code
This commit is contained in:
10
lib/util.js
10
lib/util.js
@ -1,11 +1,11 @@
|
||||
function getPlayerCountOrNull (resp) {
|
||||
function getPlayerCountOrNull(resp) {
|
||||
if (resp) {
|
||||
return resp.players.online
|
||||
return resp.players.online;
|
||||
} else {
|
||||
return null
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
getPlayerCountOrNull
|
||||
}
|
||||
getPlayerCountOrNull,
|
||||
};
|
||||
|
Reference in New Issue
Block a user