mirror of
https://github.com/tiennm99/old-free-domains.git
synced 2026-10-15 20:15:52 +00:00
feat: json
This commit is contained in:
1 parent
bb79c2ac06
commit
e9388cf4d1
1 file changed
+3
-2
@@ -58,9 +58,10 @@ jobs:
|
||||
|
||||
echo "Validating $email in $filename"
|
||||
|
||||
result=$(node scripts/validate-email/dist/index.js --email "$email" | jq -c '.')
|
||||
result=$(node scripts/validate-email/dist/index.js --email "$email")
|
||||
fixed_result=$(echo "$result" | jq '.')
|
||||
|
||||
if [[ $(echo "$result" | jq -r '.success') == "false" ]]; then
|
||||
if [[ $(echo "$fixed_result" | jq -r '.success') == "false" ]]; then
|
||||
echo "::error::FAIL $email $filename"
|
||||
echo "FAIL $email $filename" >> failed_validations.txt
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user