diff options
author | TheArcaneBrony <myrainbowdash949@gmail.com> | 2022-08-12 12:46:01 +0200 |
---|---|---|
committer | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-12-19 19:32:39 +1100 |
commit | f13082da57bee4e4c9aa6c40ab06f717ee58b8c0 (patch) | |
tree | 6fe7ccf464255e5a765b454caebd6bd4d7488381 /src/bundle/start.ts | |
parent | Create webhooks (diff) | |
download | server-f13082da57bee4e4c9aa6c40ab06f717ee58b8c0.tar.xz |
Replace deprecated property
Diffstat (limited to '')
-rw-r--r-- | src/bundle/start.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bundle/start.ts b/src/bundle/start.ts index 0c85b58d..cac75960 100644 --- a/src/bundle/start.ts +++ b/src/bundle/start.ts @@ -17,7 +17,7 @@ try { console.log("[API] Failed to get thread count! Using 1..."); } -if (cluster.isMaster) { +if (cluster.isPrimary) { function getCommitOrFail() { try { return execSync("git rev-parse HEAD").toString().trim(); |