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