repositories
/
benchmarks-js.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
768ba5bb0626ddeee91a36cdac76c35fdcf9b746
[benchmarks-js.git]
/
prepare.mjs
1
import { env } from 'node:process'
2
3
const isCIEnvironment = env.CI != null
4
if (isCIEnvironment === false) {
5
// eslint-disable-next-line n/no-unpublished-import
6
import('husky')
7
.then(({ install }) => {
8
return install()
9
})
10
.catch(err => {
11
console.error(err)
12
})
13
}