Skip to content

Commit

Permalink
fix: readme confusin condition to disable install in CI (typicode#1005)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jolg42 authored and nikoladavitkovski committed Sep 2, 2022
1 parent cb2ccd1 commit 403b817
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/README.md
Original file line number Diff line number Diff line change
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 403b817

Please sign in to comment.