0
0
This commit is contained in:
Aya Morisawa 2017-01-03 05:15:27 +09:00
parent 240b10ed6e
commit 3d55db0e7f

View File

@ -66,16 +66,16 @@ async function master(): Promise<void> {
} }
switch (initResult) { 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: case InitResult.Failure:
Logger.error(chalk.red('Fatal error occurred during initializing :(')); Logger.error(chalk.red('Fatal error occurred during initializing :('));
process.exit(); process.exit();
return; 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 // Spawn workers