mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-11-04 15:11:31 +08:00 
			
		
		
		
	chore(copy-dist): "unpack" log messages before printing
previously it was printin all messages as part of an array, i.e. ["message"] After spreading the array, we get the desired out "message"
This commit is contained in:
		
							parent
							
								
									fc77f56516
								
							
						
					
					
						commit
						dd4f8a8c27
					
				@ -7,9 +7,9 @@ const DEST_DIR_NODE_MODULES = path.join(DEST_DIR, "node_modules");
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
const VERBOSE = process.env.VERBOSE;
 | 
					const VERBOSE = process.env.VERBOSE;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
function log(...args) {
 | 
					function log(...args: any[]) {
 | 
				
			||||||
    if (VERBOSE) {
 | 
					    if (VERBOSE) {
 | 
				
			||||||
        console.log(args);
 | 
					        console.log(...args);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user