diff --git a/bin/update_crates.sh b/bin/update_crates.sh index 80bac4c65..2466a38d5 100755 --- a/bin/update_crates.sh +++ b/bin/update_crates.sh @@ -84,7 +84,7 @@ which_is_the_newest_version() { main() { # init vars crates_api_root_url="https://crates.io/api/v1/crates" - arg="$1" + arg="${1:-}" check_args "${arg}" updated_count=0