From a3e7636d61a473eb22de0f86d215ad310b71fe83 Mon Sep 17 00:00:00 2001 From: Aya Morisawa Date: Thu, 29 Dec 2016 20:07:05 +0900 Subject: [PATCH] :sparkles: --- src/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/index.ts b/src/index.ts index 0bb615717..51d64ef88 100644 --- a/src/index.ts +++ b/src/index.ts @@ -160,9 +160,9 @@ async function init(): Promise { // Get machine info const totalmem = (os.totalmem() / 1024 / 1024 / 1024).toFixed(1); const freemem = (os.freemem() / 1024 / 1024 / 1024).toFixed(1); - log('Info', `MACHINE: ${os.hostname()}`); - log('Info', `MACHINE: CPU: ${os.cpus().length}core`); - log('Info', `MACHINE: MEM: ${totalmem}GB (available: ${freemem}GB)`); + log('Info', `${os.hostname()}`, 'Machine'); + log('Info', `CPU: ${os.cpus().length}core`, 'Machine'); + log('Info', `MEM: ${totalmem}GB (available: ${freemem}GB)`, 'Machine'); if (!fs.existsSync(`${__dirname}/../.config/config.yml`)) { log('Error', 'Configuration not found');