From: Jérôme Benoit Date: Sat, 27 Jan 2024 11:34:23 +0000 (+0100) Subject: build: log on the console husky warnings X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=47d075d4683af52b21784a985bd06f5344a5aa9e;p=benchmarks-js.git build: log on the console husky warnings Signed-off-by: Jérôme Benoit --- diff --git a/prepare.mjs b/prepare.mjs index a86b8c7..25d6b42 100644 --- a/prepare.mjs +++ b/prepare.mjs @@ -5,7 +5,7 @@ if (isCIEnvironment === false) { // eslint-disable-next-line n/no-unpublished-import import('husky') .then(husky => { - return husky.default() + return console.warn(husky.default()) }) .catch(console.error) }