Skip to content

Commit

Permalink
Moved arg normalization up for readability ↞ [auto-sync from https://…
Browse files Browse the repository at this point in the history
  • Loading branch information
kudo-sync-bot committed Dec 9, 2024
1 parent 4c158f7 commit 2f5b782
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions utils/bump.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
# NOTE: Pass --chrome or --chromium to only affect Chromium manifest
# NOTE: Pass --firefox or --ff to only affect Firefox manifest

# Normalize args
arg=${1#-} ; arg=${arg#-} # strip leading dash(es)

# Init UI colors
NC="\033[0m" # no color
BR="\033[1;91m" # bright red
Expand All @@ -15,9 +18,6 @@ BW="\033[1;97m" # bright white
chromium_manifest="chromium/extension/manifest.json"
ff_manifest="firefox/extension/manifest.json"

# Normalize args
arg=${1#-} ; arg=${arg#-} # strip leading dash(es)

# Determine manifests to edit
case "$arg" in
chrome|chromium) MANIFESTS_TO_EDIT=("$chromium_manifest") ;;
Expand Down

0 comments on commit 2f5b782

Please sign in to comment.