From 779143383085e3c7c062db4e812c3a6aecb0ca26 Mon Sep 17 00:00:00 2001 From: typicode Date: Tue, 11 Feb 2020 04:07:38 +0100 Subject: [PATCH] Fix #662 disable fast-skip heuristic for .husky.js and .husky.config.js Thanks to @codyhamilton idea --- sh/husky.sh | 2 -- src/installer/__tests__/__snapshots__/scripts.ts.snap | 2 -- 2 files changed, 4 deletions(-) diff --git a/sh/husky.sh b/sh/husky.sh index d523ae535..48afbd177 100644 --- a/sh/husky.sh +++ b/sh/husky.sh @@ -36,8 +36,6 @@ hookIsDefined () { .huskyrc.json \ .huskyrc.yaml \ .huskyrc.yml \ - .huskyrc.js \ - husky.config.js } huskyVersion="0.0.0" diff --git a/src/installer/__tests__/__snapshots__/scripts.ts.snap b/src/installer/__tests__/__snapshots__/scripts.ts.snap index 97de36e48..a1014bd9f 100644 --- a/src/installer/__tests__/__snapshots__/scripts.ts.snap +++ b/src/installer/__tests__/__snapshots__/scripts.ts.snap @@ -65,8 +65,6 @@ hookIsDefined () { .huskyrc.json \\\\ .huskyrc.yaml \\\\ .huskyrc.yml \\\\ - .huskyrc.js \\\\ - husky.config.js } huskyVersion=\\"4.2.1\\"