Skip to content

Commit 8963505

Browse files
authored
fix: Update entrypoint.sh (#26)
1 parent c67a844 commit 8963505

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

entrypoint.sh

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,14 @@ run_commit_check(){
77
args=""
88
if [[ "$MESSAGE" == "true" ]]; then
99
args="$args --message"
10-
elif [[ "$BRANCH" == "true" ]]; then
10+
fi
11+
if [[ "$BRANCH" == "true" ]]; then
1112
args="$args --branch"
12-
elif [[ "$AUTHOR_NAME" == "true" ]]; then
13+
fi
14+
if [[ "$AUTHOR_NAME" == "true" ]]; then
1315
args="$args --author-name"
14-
elif [[ "$AUTHOR_EMAIL" == "true" ]]; then
16+
fi
17+
if [[ "$AUTHOR_EMAIL" == "true" ]]; then
1518
args="$args --author-email"
1619
fi
1720

0 commit comments

Comments
 (0)