Try this a different way
This commit is contained in:
		
							parent
							
								
									bc9eb12b5a
								
							
						
					
					
						commit
						27215598f9
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		
							
								
								
									
										6
									
								
								app.js
									
										
									
									
									
								
							
							
						
						
									
										6
									
								
								app.js
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -150,9 +150,9 @@ if (isMaster) {
 | 
			
		|||
    error: "red"
 | 
			
		||||
  });
 | 
			
		||||
 | 
			
		||||
  (async () => {
 | 
			
		||||
    if (await database.upgrade(logger)) return process.exit(1);
 | 
			
		||||
  })();
 | 
			
		||||
  database.upgrade(logger).then(result => {
 | 
			
		||||
    if (result === 1) return process.exit(1);
 | 
			
		||||
  });
 | 
			
		||||
 | 
			
		||||
  Admiral.on("log", (m) => logger.main(m));
 | 
			
		||||
  Admiral.on("info", (m) => logger.info(m));
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue