Merge pull request #1201 from TriliumNext/chore_fix-copy-dist-log

chore(copy-dist): "unpack" log messages before printing
This commit is contained in:
Elian Doran 2025-02-16 15:00:41 +02:00 committed by GitHub
commit 324233be50
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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);
}
}