Skip to content

Commit 1ba0727

Browse files
committed
fix(index.js): add return statement to checkLength function
1 parent ae7c4f8 commit 1ba0727

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@ class gitCommitMsg {
8282

8383
line++;
8484
}
85+
86+
return true;
8587
}
8688

8789
// Check first line of commit message, if there is [Type]([optional scope]): [Subject]

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "git-commit-msg",
3-
"version": "0.1.1",
3+
"version": "0.1.3",
44
"description": "Install commit-msg hook into .git folder",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)