From dd4f8a8c27837a72cd88a64e3e1ec56bec575fbe Mon Sep 17 00:00:00 2001 From: Panagiotis Papadopoulos Date: Sat, 15 Feb 2025 13:08:13 +0100 Subject: [PATCH] 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" --- bin/copy-dist.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/copy-dist.ts b/bin/copy-dist.ts index 83a31bbf7..6087a69bd 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); } }