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"
This commit is contained in:
Panagiotis Papadopoulos 2025-02-15 13:08:13 +01:00
parent fc77f56516
commit dd4f8a8c27

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