1 files changed, 7 insertions, 8 deletions
diff --git a/bundle/src/start.ts b/src/bundle/start.ts
index de3b5848..2a1e6520 100644
--- a/bundle/src/start.ts
+++ b/src/bundle/start.ts
@@ -1,4 +1,5 @@
// process.env.MONGOMS_DEBUG = "true";
+require('module-alias/register');
import "reflect-metadata";
import cluster, { Worker } from "cluster";
import os from "os";
@@ -13,7 +14,7 @@ var cores = 1;
try {
cores = Number(process.env.THREADS) || os.cpus().length;
} catch {
- console.log("[API] Failed to get thread count! Using 1...")
+ console.log("[API] Failed to get thread count! Using 1...");
}
if (cluster.isMaster) {
@@ -36,18 +37,16 @@ if (cluster.isMaster) {
╚═╝ ╚═════╝ ╚══════╝╚══════╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚═════╝
fosscord-server | ${yellow(
- `Pre-release (${
- commit !== null
- ? commit.slice(0, 7)
- : "Unknown (Git cannot be found)"
+ `Pre-release (${commit !== null
+ ? commit.slice(0, 7)
+ : "Unknown (Git cannot be found)"
})`
)}
-Commit Hash: ${
- commit !== null
+Commit Hash: ${commit !== null
? `${cyan(commit)} (${yellow(commit.slice(0, 7))})`
: "Unknown (Git cannot be found)"
- }
+ }
Cores: ${cyan(os.cpus().length)} (Using ${cores} thread(s).)
`)
);
|