Skip to content

Commit

Permalink
Improved invalid arg warning msgs ↞ [auto-sync from https://github.co…
Browse files Browse the repository at this point in the history
  • Loading branch information
kudo-sync-bot committed Dec 9, 2024
1 parent 191d75f commit 1642570
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/bump.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ case "$arg" in
chrome|chromium) MANIFESTS_TO_EDIT=("$chromium_manifest") ;;
firefox|ff) MANIFESTS_TO_EDIT=("$ff_manifest") ;;
"") MANIFESTS_TO_EDIT=("$chromium_manifest" "$ff_manifest") ;;
*) echo -e "${BR}Invalid argument. Use 'chrome', 'chromium', 'firefox', 'ff', or leave empty.${NC}" ; exit 1 ;;
*) echo -e "${BR}Invalid argument. Use '--chrome', '--chromium', '--firefox', '--ff', or omit arg.${NC}" ; exit 1 ;;
esac
multi_bump=$( # flag for echos/git commit msg
[[ ${#MANIFESTS_TO_EDIT[@]} -gt 1 ]] && echo true || echo false)
Expand Down

0 comments on commit 1642570

Please sign in to comment.