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
6
shard.js
6
shard.js
|
@ -59,11 +59,13 @@ class Shard extends Base {
|
||||||
logger.error(e);
|
logger.error(e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// generate docs
|
// generate docs
|
||||||
|
await helpGenerator.generateList();
|
||||||
if (this.clusterID === 0 && helpGenerator) {
|
if (this.clusterID === 0 && helpGenerator) {
|
||||||
helpGenerator.generateList().then(() => helpGenerator.createPage(process.env.OUTPUT)).then(() => logger.log("info", "The help docs have been generated."));
|
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