From 4a535824276b0269979e4303b8b0027672f33cfe Mon Sep 17 00:00:00 2001 From: Henrik Skupin Date: Tue, 17 May 2022 21:52:10 +0000 Subject: [PATCH] Bug 1757701 - [puppeteer] Allow to skip the installation of Husky in the prepare step. r=webdriver-reviewers,jdescottes Differential Revision: https://phabricator.services.mozilla.com/D145857 --- remote/test/puppeteer/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/remote/test/puppeteer/package.json b/remote/test/puppeteer/package.json index b3d45e83fdeb6..d502813575678 100644 --- a/remote/test/puppeteer/package.json +++ b/remote/test/puppeteer/package.json @@ -17,7 +17,7 @@ "assert-unit-coverage": "cross-env COVERAGE=1 mocha --config mocha-config/coverage-tests.js", "funit": "cross-env PUPPETEER_PRODUCT=firefox npm run unit", "test": "npm run tsc && npm run lint --silent && npm run unit-with-coverage && npm run test-browser", - "prepare": "node typescript-if-required.js && husky install", + "prepare": "node typescript-if-required.js && ([[ $HUSKY = 0 ]] || husky install)", "prepublishOnly": "npm run build", "dev-install": "npm run tsc && node install.js", "install": "node install.js",