From 403b817f44b7655010905ecdffd1efb03a61bf68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=ABl=20Galeran?= Date: Wed, 7 Jul 2021 16:12:10 +0200 Subject: [PATCH] fix: readme confusin condition to disable install in CI (#1005) --- docs/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/README.md b/docs/README.md index d01d7d9c8..e76c7f3d6 100644 --- a/docs/README.md +++ b/docs/README.md @@ -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() } ```