Update crate check to new crates.io error string (#484)
This commit is contained in:
parent
ae327c0156
commit
d140cdbeab
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue