From f13082da57bee4e4c9aa6c40ab06f717ee58b8c0 Mon Sep 17 00:00:00 2001 From: TheArcaneBrony Date: Fri, 12 Aug 2022 12:46:01 +0200 Subject: Replace deprecated property --- src/bundle/start.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/bundle/start.ts') 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(); -- cgit 1.4.1