mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-03 20:06:08 +01:00 
			
		
		
		
	Merge pull request #1201 from TriliumNext/chore_fix-copy-dist-log
chore(copy-dist): "unpack" log messages before printing
This commit is contained in:
		@@ -7,9 +7,9 @@ const DEST_DIR_NODE_MODULES = path.join(DEST_DIR, "node_modules");
 | 
			
		||||
 | 
			
		||||
const VERBOSE = process.env.VERBOSE;
 | 
			
		||||
 | 
			
		||||
function log(...args) {
 | 
			
		||||
function log(...args: any[]) {
 | 
			
		||||
    if (VERBOSE) {
 | 
			
		||||
        console.log(args);
 | 
			
		||||
        console.log(...args);
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user