From 2fd6ddf8eefd9db7d1f7b84890be65d6404f2016 Mon Sep 17 00:00:00 2001 From: Aya Morisawa Date: Sat, 31 Dec 2016 03:14:38 +0900 Subject: [PATCH] :sparkles: --- src/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index b9c628268..47354eab0 100644 --- a/src/index.ts +++ b/src/index.ts @@ -166,6 +166,8 @@ async function init(): Promise { machineLogger.info(`CPU: ${os.cpus().length}core`); machineLogger.info(`MEM: ${totalmem}GB (available: ${freemem}GB)`); + new DependencyChecker().checkAll(); + let configLogger = new Logger('Config'); if (!fs.existsSync(`${__dirname}/../.config/config.yml`)) { configLogger.error('Configuration not found'); @@ -175,7 +177,6 @@ async function init(): Promise { configLogger.info('Successfully loaded'); configLogger.info(`maintainer: ${config.maintainer}`); - new DependencyChecker().checkAll(); if (process.platform === 'linux' && !isRoot() && config.port < 1024) { Logger.error('You need root privileges to listen on port below 1024 on Linux');