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 ab63736 commit aa561e0
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*}$/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
Expand Down

0 comments on commit aa561e0

Please sign in to comment.