Skip to content

Commit f347d21

Browse files
committed
fix(bash): parsing arguments
1 parent 1e09ac0 commit f347d21

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

check_message.sh

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22

33
set -eu
44

5-
OPTIONS=$(getopt --long no-jira,allow-temp,jira-in-header,header-length:,jira-types: -- "$@")
6-
5+
OPTIONS=$(getopt --longoptions no-jira,allow-temp,jira-in-header,header-length:,jira-types: --options "" -- "$@")
76
unset COMMIT_VALIDATOR_ALLOW_TEMP COMMIT_VALIDATOR_NO_JIRA COMMIT_VALIDATOR_NO_REVERT_SHA1 GLOBAL_JIRA_IN_HEADER GLOBAL_MAX_LENGTH GLOBAL_JIRA_TYPES
87

98
eval set -- $OPTIONS

0 commit comments

Comments
 (0)