summaryrefslogtreecommitdiff
path: root/src/utils/machineInfo.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/machineInfo.ts')
-rw-r--r--src/utils/machineInfo.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/machineInfo.ts b/src/utils/machineInfo.ts
index acae773743..0c189cc7ca 100644
--- a/src/utils/machineInfo.ts
+++ b/src/utils/machineInfo.ts
@@ -2,10 +2,10 @@ import * as os from 'os';
import Logger from './logger';
export default class {
- static show(): void {
+ public static show(): void {
const totalmem = (os.totalmem() / 1024 / 1024 / 1024).toFixed(1);
const freemem = (os.freemem() / 1024 / 1024 / 1024).toFixed(1);
- let logger = new Logger('Machine');
+ const logger = new Logger('Machine');
logger.info(`Hostname: ${os.hostname()}`);
logger.info(`Platform: ${process.platform}`);
logger.info(`Architecture: ${process.arch}`);