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