diff --git a/.secret-scan/secret-scan.js b/.secret-scan/secret-scan.js index 0a74f62..b5c846e 100644 --- a/.secret-scan/secret-scan.js +++ b/.secret-scan/secret-scan.js @@ -281,7 +281,7 @@ function getRepoRoot() { function checkGitHooks() { checkGitVersion(); - const expectedHooksPath = ".husky/_"; + const expectedHooksPath = ".husky"; const command = /** @type {const} */ (["git", "config", "--get", "core.hooksPath"]); const helpMsg = `Husky has not installed the required Git hooks. Run "npm run prepare" and try again.`;