Skip to content

Build your personal knowledge base with Trilium Notes

chore(copy-dist): "unpack" log messages before printing

Panagiotis Papadopoulosdd4f8a8c2783
diff --git a/bin/copy-dist.ts b/bin/copy-dist.ts
index 83a31bbf74..6087a69bd1 100644
--- a/bin/copy-dist.ts
+++ b/bin/copy-dist.ts
@@ -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);
}
}