Skip to content

Commit

Permalink
fix(presets/conventional-commits): fix case of error
Browse files Browse the repository at this point in the history
  • Loading branch information
dalisoft committed Mar 1, 2024
1 parent e10a364 commit 2f723a7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion presets/conventional-commits.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ parse_commit() {
if isValidCommitType "$type" "${INCLUDE_SCOPE[@]}"; then
RELEASE_BODY+="**\`[$type]\`** "
fi
if [ -n "$scope" ]; then

if [ -n "${scope-}" ]; then
RELEASE_BODY+="**$scope**: "
fi
RELEASE_BODY+="$description "
Expand Down

0 comments on commit 2f723a7

Please sign in to comment.