This commit is contained in:
TheEssem 2021-05-22 10:10:51 -05:00
commit 4231b0d2a2
No known key found for this signature in database
GPG key ID: A3F9F02129092FCA

View file

@ -63,10 +63,12 @@ class Shard extends Base {
} }
// generate docs // generate docs
await helpGenerator.generateList(); if (helpGenerator) {
if (this.clusterID === 0 && helpGenerator) { await helpGenerator.generateList();
await helpGenerator.createPage(process.env.OUTPUT); if (this.clusterID === 0 && helpGenerator) {
logger.log("info", "The help docs have been generated."); await helpGenerator.createPage(process.env.OUTPUT);
logger.log("info", "The help docs have been generated.");
}
} }
if (process.env.METRICS !== "" && process.env.METRICS !== undefined) { if (process.env.METRICS !== "" && process.env.METRICS !== undefined) {