summary refs log tree commit diff
path: root/src/stats.ts
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/stats.ts9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/stats.ts b/src/stats.ts
index 654e0a4f..05f0ab77 100644
--- a/src/stats.ts
+++ b/src/stats.ts
@@ -2,15 +2,13 @@ import os from "os";
 import { red } from "picocolors";
 
 export function initStats() {
-	
 	console.log(`[Path] running in ${__dirname}`);
 	try {
 		console.log(`[CPU] ${os.cpus()[0].model} Cores x${os.cpus().length}`);
+	} catch {
+		console.log("[CPU] Failed to get cpu model!");
 	}
-	catch {
-		console.log('[CPU] Failed to get cpu model!')
-	}
-	
+
 	console.log(`[System] ${os.platform()} ${os.arch()}`);
 	console.log(`[Process] running with PID: ${process.pid}`);
 	if (process.getuid && process.getuid() === 0) {
@@ -20,5 +18,4 @@ export function initStats() {
 			)
 		);
 	}
-
 }