From e3dd4493c1830dbee5d6d4dd96a8db5a14cfaa0b Mon Sep 17 00:00:00 2001 From: jcamiel Date: Mon, 19 Dec 2022 17:23:29 +0100 Subject: [PATCH] Fix default value for argument. --- bin/update_crates.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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