From: Jérôme Benoit Date: Sat, 27 Jan 2024 10:50:09 +0000 (+0100) Subject: build: log on the console husky warnings X-Git-Tag: v1.2.33~23 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=463b6957ee52dec137dc5f3838886e33492f99ef;p=e-mobility-charging-stations-simulator.git build: log on the console husky warnings Signed-off-by: Jérôme Benoit --- diff --git a/prepare.js b/prepare.js index 2e8db999..bf54524b 100644 --- a/prepare.js +++ b/prepare.js @@ -4,5 +4,5 @@ const isCIEnvironment = env.CI != null const isCFEnvironment = env.VCAP_APPLICATION != null if (isCFEnvironment === false && isCIEnvironment === false) { // eslint-disable-next-line n/no-unpublished-import - import('husky').then(husky => husky.default()) + import('husky').then(husky => console.warn(husky.default())) }