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