From aa561e0d4621df9ae9bb22433c7f834aa672a197 Mon Sep 17 00:00:00 2001 From: SGiaccobasso Date: Mon, 23 Sep 2024 20:54:43 -0300 Subject: [PATCH] chore: update yml --- .github/workflows/validate-tokens.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/validate-tokens.yml b/.github/workflows/validate-tokens.yml index 4bfc881..8e07298 100644 --- a/.github/workflows/validate-tokens.yml +++ b/.github/workflows/validate-tokens.yml @@ -30,7 +30,7 @@ jobs: echo "Raw diff:" echo "$DIFF" echo "Extracting JSON:" - NEW_TOKENS=$(echo "$DIFF" | sed -n '/^+/,/^+\s*}$/p' | sed 's/^+//g' | jq -s 'add') + NEW_TOKENS=$(echo "$DIFF" | sed -n '/^+\s*"0x/,/^+\s*}/p' | sed 's/^+//g' | sed 's/^},$/}/' | jq -s '.') echo "$NEW_TOKENS" echo "$NEW_TOKENS" > new_tokens.json node validate-token-configs.js