Skip to content

Commit 0753ccf

Browse files
committed
fix(ci): Update for pipline
1 parent 22d7952 commit 0753ccf

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.githooks/commit-msg

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,8 @@ NC='\033[0m' # No Color
88

99
echo -e "${BLUE}Checking commit message format...${NC}"
1010

11-
COMMIT_MSG_FILE=$1
12-
echo "${COMMIT_MSG_FILE}"
13-
COMMIT_MSG=$(echo "$COMMIT_MSG_FILE")
11+
COMMIT_MSG_FILE="$1"
12+
COMMIT_MSG=$(cat "$COMMIT_MSG_FILE")
1413

1514
TYPES="feat|fix|docs|style|refactor|test|other"
1615

0 commit comments

Comments
 (0)