From 45e63dc7efc7b93fc895ea62f7278e2c1242649c Mon Sep 17 00:00:00 2001 From: William Harrison Date: Sat, 27 May 2023 14:08:16 +0800 Subject: [PATCH] Update validation.yml --- .github/workflows/validation.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/validation.yml b/.github/workflows/validation.yml index 3f7002b..19fc562 100644 --- a/.github/workflows/validation.yml +++ b/.github/workflows/validation.yml @@ -61,7 +61,8 @@ jobs: result=$(node scripts/validate-email/dist/index.js --email "$email") echo "Raw response: $result" - fixed_result=$(echo "$result" | jq '.' | tr -d "'") + fixed_result=$(echo "$result" | jq '.' 2>&1) + echo "Fixed result: $fixed_result" success=$(echo "$fixed_result" | jq -r '.success')