Skip to content

Commit

Permalink
chore: update yml
Browse files Browse the repository at this point in the history
  • Loading branch information
SGiaccobasso committed Sep 23, 2024
1 parent aa561e0 commit 4966773
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/validate-tokens.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
echo "Raw diff:"
echo "$DIFF"
echo "Extracting JSON:"
NEW_TOKENS=$(echo "$DIFF" | sed -n '/^+\s*"0x/,/^+\s*}/p' | sed 's/^+//g' | sed 's/^},$/}/' | jq -s '.')
NEW_TOKENS=$(echo "$DIFF" | sed -n '/^+/s/^+//p' | sed '1s/^/{\n/' | sed '$s/$/\n}/' | jq '.')
echo "$NEW_TOKENS"
echo "$NEW_TOKENS" > new_tokens.json
node validate-token-configs.js
Expand Down

0 comments on commit 4966773

Please sign in to comment.