-
Notifications
You must be signed in to change notification settings - Fork 29
fix: lowercase token addresses directories #287
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
alfetopito
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this, I should have done this in the first place 🙈
BTW, not all token image urls can be lower cased. See the comments.
Also, this should be updated too
| file_path = f'src/public/images/{data["chainId"]}/{data["address"]}/info.json' |
| # https://stackoverflow.com/questions/62627931/github-actions-expression-functions-string-manipulation | ||
| - name: Set address lowercase | ||
| id: setAddressLowerCase | ||
| run: INPUT=${{ fromJSON(inputs.issueInfo).address }} echo "::set-output name=addressLowerCase::${INPUT,,}" | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great you added also the stackoverflow ref!
|
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
@alfetopito thanks! fixed it as well |
|
I have read the CLA Document and I hereby sign the CLA |
logoURIininfo.jsonfiles (commit)logoURIinCowSwap.json(commit)executeAction.yml(commit)