From 4bb819903d6103259eab3046962e4441d8b42a7f Mon Sep 17 00:00:00 2001 From: Aya Morisawa Date: Tue, 3 Jan 2017 05:15:27 +0900 Subject: [PATCH] :sparkles: --- src/index.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/index.ts b/src/index.ts index 31e5cdbf8..e10648bbb 100644 --- a/src/index.ts +++ b/src/index.ts @@ -66,16 +66,16 @@ async function master(): Promise { } switch (initResult) { + case InitResult.Success: + Logger.info(chalk.green('Successfully initialized :)')); + break; + case InitResult.Warn: + Logger.warn(chalk.yellow('Initialized with some problem(s) :|')); + break; case InitResult.Failure: Logger.error(chalk.red('Fatal error occurred during initializing :(')); process.exit(); return; - case InitResult.Warn: - Logger.warn(chalk.yellow('Initialized with some problem(s) :|')); - break; - case InitResult.Success: - Logger.info(chalk.green('Successfully initialized :)')); - break; } // Spawn workers