From dfdf096216fd07315ee205da61d4098fbcace882 Mon Sep 17 00:00:00 2001 From: kokocan12 Date: Tue, 28 Jun 2022 17:28:53 +0900 Subject: [PATCH] modify binary command --- src/git-commit-msg-validator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/git-commit-msg-validator.js b/src/git-commit-msg-validator.js index e16307b..857383b 100644 --- a/src/git-commit-msg-validator.js +++ b/src/git-commit-msg-validator.js @@ -4,7 +4,7 @@ const path = require('path'); const START_TEXT = "# GIT_COMMIT_MSG_VALIDATOR_START"; const END_TEXT = "# GIT_COMMIT_MSG_VALIDATOR_END"; -const RUN_HOOK = "git-commit-msg-validator-run-hook"; +const RUN_HOOK = "./node_modules/.bin/git-commit-msg-validator-run-hook"; function getPackageJson(projectPath = process.cwd()) { if (typeof projectPath !== "string") {