mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-31 13:01:31 +08: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:
		
						commit
						324233be50
					
				| @ -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