Meta: Fix commit linting commit-hook to receive COMMIT_EDITMSG
This commit is contained in:
@@ -60,7 +60,7 @@ install() {
|
||||
commitMsg=".git/hooks/commit-msg"
|
||||
create "$commitMsg"
|
||||
sed -Ei "/lint-commit.sh/d" "$commitMsg"
|
||||
sed -Ei "\$ a $subDir/lint-commit.sh" "$commitMsg"
|
||||
sed -Ei "\$ a $subDir/lint-commit.sh \"\$@\"" "$commitMsg"
|
||||
}
|
||||
|
||||
remove() {
|
||||
|
||||
Reference in New Issue
Block a user