diff --git a/src/bundle/start.ts b/src/bundle/start.ts
index 2a1e6520..0c85b58d 100644
--- a/src/bundle/start.ts
+++ b/src/bundle/start.ts
@@ -1,5 +1,5 @@
// process.env.MONGOMS_DEBUG = "true";
-require('module-alias/register');
+require("module-alias/register");
import "reflect-metadata";
import cluster, { Worker } from "cluster";
import os from "os";
@@ -37,18 +37,20 @@ 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).)
-`)
+`),
);
if (commit == null) {
@@ -85,8 +87,8 @@ Cores: ${cyan(os.cpus().length)} (Using ${cores} thread(s).)
cluster.on("exit", (worker: any, code: any, signal: any) => {
console.log(
`[Worker] ${red(
- `died with PID: ${worker.process.pid} , restarting ...`
- )}`
+ `died with PID: ${worker.process.pid} , restarting ...`,
+ )}`,
);
cluster.fork();
});
|