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

Add generic fallback for ingredient suffix #273

Merged
merged 1 commit into from
Oct 21, 2023

Conversation

Aericio
Copy link
Member

@Aericio Aericio commented Oct 21, 2023

In #271, the issue was that the suffix did not exist in our replacements. Since it should be {ITEM NAME} {GENERIC COMPONENT NAME} in all cases, this PR adds a fallback to strip the item name from the component name.

Though, it's probably fine for the fallback to be used instead of the suffixes list.

@github-actions
Copy link

Visit the preview URL for this PR (updated for commit c320581):

https://framehub-f9cfb--pr273-feat-component-suffi-j4ms9cls.web.app

(expires Sat, 28 Oct 2023 03:23:08 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: d479a304ab2d7841f425078578255b86dfb0d48c

@Aericio Aericio merged commit c887f90 into main Oct 21, 2023
2 checks passed
@Aericio Aericio deleted the feat/component-suffix-fallback branch October 21, 2023 03:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants