mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 00:43:49 +01:00
✨
This commit is contained in:
parent
fa6927a559
commit
4bb819903d
12
src/index.ts
12
src/index.ts
@ -66,16 +66,16 @@ async function master(): Promise<void> {
|
||||
}
|
||||
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user