From 3d55db0e7f7024c650cb6769ea4737a148046f43 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 31e5cdbf83..e10648bbbd 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