Skip to content

Commit b24a50b

Browse files
fix: commit-msg hook
Signed-off-by: Mauricio Robayo <[email protected]>
1 parent 8e9c875 commit b24a50b

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

.githooks/commit-msg

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
11
#!/bin/sh
22

33
npx --no-install commitlint --edit $1
4-
5-
test "" = "$(grep '^Signed-off-by: ' "$1" |
6-
sort | uniq -c | sed -e '/^[ ]*1[ ]/d')" || {
7-
echo >&2 Duplicate Signed-off-by lines.
8-
exit 1
9-
}

0 commit comments

Comments
 (0)