✨
This commit is contained in:
		
							parent
							
								
									240b10ed6e
								
							
						
					
					
						commit
						3d55db0e7f
					
				
					 1 changed files with 6 additions and 6 deletions
				
			
		
							
								
								
									
										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…
	
	Add table
		Add a link
		
	
		Reference in a new issue