pain
This commit is contained in:
parent
4142dc0e4a
commit
a6bfe29a88
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@navy.gif/logger",
|
"name": "@navy.gif/logger",
|
||||||
"version": "1.1.7",
|
"version": "1.1.8",
|
||||||
"description": "Logging thing",
|
"description": "Logging thing",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"author": "Navy.gif",
|
"author": "Navy.gif",
|
||||||
|
@ -83,7 +83,7 @@ class MasterLogger {
|
|||||||
_shard (shard) {
|
_shard (shard) {
|
||||||
if (!shard) return 'controller';
|
if (!shard) return 'controller';
|
||||||
let id = '??';
|
let id = '??';
|
||||||
if (shard.id) id = `${shard.id < 10 ? `0${shard.id}` : shard.id}`;
|
if ('id' in shard) id = `${shard.id < 10 ? `0${shard.id}` : shard.id}`;
|
||||||
return `shard${id}`;
|
return `shard${id}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user