From 6d56d2565244072368ab7f883e161a1a8a61f4d9 Mon Sep 17 00:00:00 2001 From: Pablo Mayrgundter Date: Thu, 4 Apr 2024 16:10:52 -0500 Subject: [PATCH] Yarn serve logging (#1092) * esbuild: fix some issues with defines.js and add test * esbuild: fixup filtered logging helper --------- Signed-off-by: Pablo Mayrgundter --- package.json | 2 +- tools/esbuild/utils.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 42b2a1229..cc497db74 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bldrs", - "version": "1.0.953", + "version": "1.0.954", "main": "src/index.jsx", "license": "MIT", "homepage": "https://github.com/bldrs-ai/Share", diff --git a/tools/esbuild/utils.js b/tools/esbuild/utils.js index 9d6dba69a..f52f2ba07 100644 --- a/tools/esbuild/utils.js +++ b/tools/esbuild/utils.js @@ -1,8 +1,8 @@ /** Wrapper for logging to allow disable from `jest test-tools`. */ -export function log(msg) { +export function log(...msg) { if (process.env.NO_LOG === 'true') { return } // eslint-disable-next-line no-console - console.log(msg) + console.log(...msg) }