Fixed improper OUTPUT variable checking
This commit is contained in:
parent
6802c52316
commit
6475c91fbc
1 changed files with 1 additions and 1 deletions
2
shard.js
2
shard.js
|
@ -55,7 +55,7 @@ class Shard extends BaseClusterWorker {
|
|||
log("info", "Finished loading events.");
|
||||
|
||||
// generate docs
|
||||
if (process.env.OUTPUT !== "") {
|
||||
if (process.env.OUTPUT && process.env.OUTPUT !== "") {
|
||||
await generateList();
|
||||
if (this.clusterID === 0) {
|
||||
await createPage(process.env.OUTPUT);
|
||||
|
|
Loading…
Reference in a new issue