Commit | Line | Data |
---|---|---|
d124d21a | 1 | import { env } from 'node:process' |
d124d21a JB |
2 | |
3 | const isCIEnvironment = env.CI != null | |
4 | if (isCIEnvironment === false) { | |
a0648418 JB |
5 | // eslint-disable-next-line n/no-unpublished-import |
6 | import('husky') | |
7 | .then(({ install }) => { | |
8 | return install() | |
9 | }) | |
8a0bce5b | 10 | .catch(console.error) |
d124d21a | 11 | } |