build(deps-dev): apply updates
[benchmarks-js.git] / prepare.mjs
index d6441fb0b130c869e63b505c3b74cb819f8842f8..a86b8c723496479bebb57e45125f843b7d1c8e03 100644 (file)
@@ -4,8 +4,8 @@ const isCIEnvironment = env.CI != null
 if (isCIEnvironment === false) {
   // eslint-disable-next-line n/no-unpublished-import
   import('husky')
-    .then(({ install }) => {
-      return install()
+    .then(husky => {
+      return husky.default()
     })
     .catch(console.error)
 }