Skip to content

Commit

Permalink
Update prepare script for husky v9
Browse files Browse the repository at this point in the history
Change-type: patch
  • Loading branch information
joshbwlng committed Apr 9, 2024
1 parent 3a3e4f4 commit 72d7dac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"pretest": "npm run prepare",
"test": "mocha",
"posttest": "npm run lint",
"prepare": "node -e \"try { require('husky').install() } catch (e) {if (e.code !== 'MODULE_NOT_FOUND') throw e}\" && tsc"
"prepare": "node -e \"try { (await import('husky')).default() } catch (e) { if (e.code !== 'ERR_MODULE_NOT_FOUND') throw e }\" --input-type module && tsc"
},
"repository": "https://github.com/balena-io-modules/sbvr-types.git",
"author": "",
Expand Down

0 comments on commit 72d7dac

Please sign in to comment.