Skip to content
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

Warn about incorrect icon name and handle gracefully #1241

Merged
merged 2 commits into from
May 1, 2024

Conversation

braden-godley
Copy link
Contributor

Was running into bugs in my company's project which uses Feather. I had added an icon with the incorrect name add somewhere in our codebase, and it was causing feather.replace() to completely break and not replace any icons.

This PR will make it warn if you use the incorrect name and then just simply not try to replace it. This prevents the error from occurring.

Related to #443

image

Copy link

changeset-bot bot commented Apr 30, 2024

🦋 Changeset detected

Latest commit: dd20826

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
feather-icons Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@colebemis
Copy link
Member

Thanks for the PR, @braden-godley! Could you add a changeset for this change?

@braden-godley
Copy link
Contributor Author

braden-godley commented May 1, 2024

will do!

@braden-godley
Copy link
Contributor Author

Changeset has been added!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants