build: log on the console husky warnings
authorJérôme Benoit <jerome.benoit@sap.com>
Sat, 27 Jan 2024 10:50:09 +0000 (11:50 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Sat, 27 Jan 2024 10:50:09 +0000 (11:50 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
prepare.js

index 2e8db9994c06a76604cc579a1402cf969facd81d..bf54524b32ad93a7b167b340fce78e32c201b2b9 100644 (file)
@@ -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()))
 }