summary refs log tree commit diff
path: root/src/bundle/start.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/bundle/start.ts')
-rw-r--r--src/bundle/start.ts2
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();