Skip to content

Commit

Permalink
fix arguments (I am blind)
Browse files Browse the repository at this point in the history
  • Loading branch information
zen0bit committed May 6, 2024
1 parent dde024a commit eb59319
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions modules/update.am
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
# shellcheck disable=SC2086

# Function to update GitHub API key in AM-updater files
update_github_api() {
Expand Down Expand Up @@ -122,10 +123,10 @@ case "$1" in
while [ -n "$1" ]; do
case $2 in
''|'--apps')
_update_apps "${@}}"
_update_apps "${@}"
;;
*)
_update_all "${@}}"
_update_all "${@}"
;;
esac
done
Expand All @@ -138,7 +139,7 @@ case "$1" in
exit
;;
*)
_update_rest "${@}}"
_update_rest "${@}"
;;
esac
;;
Expand Down

0 comments on commit eb59319

Please sign in to comment.