build: log on the console husky warnings
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Sat, 27 Jan 2024 11:34:23 +0000 (12:34 +0100)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Sat, 27 Jan 2024 11:34:23 +0000 (12:34 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
prepare.mjs

index a86b8c723496479bebb57e45125f843b7d1c8e03..25d6b42a6eb8044c89ef37821d11617dc44c4191 100644 (file)
@@ -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)
 }