Update crate check to new crates.io error string (#484)

This commit is contained in:
Tyera 2024-03-29 00:42:09 -06:00 committed by GitHub
parent ae327c0156
commit d140cdbeab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ for file in "${files[@]}"; do
errors=$(echo "$response" | jq .errors)
if [[ $errors != "null" ]]; then
details=$(echo "$response" | jq .errors | jq -r ".[0].detail")
if [[ $details = *"Not Found"* ]]; then
if [[ $details = *"does not exist"* ]]; then
((error_count++))
echo "❌ new crate $crate_name not found on crates.io. you can either