Skip to content

Commit

Permalink
fix: readme confusin condition to disable install in CI (#1005)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jolg42 committed Jul 7, 2021
1 parent a80ead5 commit 24c6588
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/README.md
Expand Up @@ -271,8 +271,8 @@ You can create a custom JS script and conditionally require husky and install ho

```js
// prepare.js
const someConditions = process.env.CI !== undefined
if (someConditions) {
const isCi = process.env.CI !== undefined
if (!isCi) {
require('husky').install()
}
```
Expand Down

0 comments on commit 24c6588

Please sign in to comment.