Skip to content

Commit 6215295

Browse files
author
Hendry, Adam
committed
Revert "fix(entrypoint.sh): move --debug"
This reverts commit e543aff.
1 parent e543aff commit 6215295

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

entrypoint.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ echo "Commitizen version: $(cz version)"
3838
PREV_REV="$(cz version --project)"
3939

4040
CZ_CMD=('cz')
41+
if [[ $INPUT_DEBUG == 'true' ]]; then
42+
CZ_CMD+=('--debug')
43+
fi
4144
if [[ $INPUT_NO_RAISE ]]; then
4245
CZ_CMD+=('--no-raise' "$INPUT_NO_RAISE")
4346
fi
@@ -63,9 +66,6 @@ fi
6366
if [[ $INPUT_CHECK_CONSISTENCY ]]; then
6467
CZ_CMD+=('--check-consistency')
6568
fi
66-
if [[ $INPUT_DEBUG == 'true' ]]; then
67-
CZ_CMD+=('--debug')
68-
fi
6969
if [[ $INPUT_CHANGELOG_INCREMENT_FILENAME ]]; then
7070
CZ_CMD+=('--changelog-to-stdout')
7171
echo "${CZ_CMD[@]}" ">$INPUT_CHANGELOG_INCREMENT_FILENAME"

0 commit comments

Comments
 (0)