Fixed help command not being properly generated
This commit is contained in:
parent
b5253cf8e3
commit
e10a277f65
1 changed files with 6 additions and 4 deletions
10
shard.js
10
shard.js
|
@ -59,11 +59,13 @@ class Shard extends Base {
|
||||||
logger.error(e);
|
logger.error(e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// generate docs
|
// generate docs
|
||||||
if (this.clusterID === 0 && helpGenerator) {
|
await helpGenerator.generateList();
|
||||||
helpGenerator.generateList().then(() => helpGenerator.createPage(process.env.OUTPUT)).then(() => logger.log("info", "The help docs have been generated."));
|
if (this.clusterID === 0 && helpGenerator) {
|
||||||
}
|
await helpGenerator.createPage(process.env.OUTPUT);
|
||||||
|
logger.log("info", "The help docs have been generated.");
|
||||||
}
|
}
|
||||||
|
|
||||||
// handle process stop
|
// handle process stop
|
||||||
|
|
Loading…
Reference in a new issue