Commit | Line | Data |
---|---|---|
b0c4f887 JB |
1 | import { env } from 'node:process'; |
2 | ||
3 | // eslint-disable-next-line n/no-unpublished-import | |
4 | import { install } from 'husky'; | |
10687422 JB |
5 | |
6 | const isCIEnvironment = env.CI !== undefined; | |
7 | const isCFEnvironment = env.VCAP_APPLICATION !== undefined; | |
d5ece621 | 8 | if (isCFEnvironment === false && isCIEnvironment === false) { |
b0c4f887 | 9 | install(); |
2aa2a8df | 10 | } |