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

Fix logic bug when displaying history basename warning messages #485

Merged

Conversation

jeffreypriebe
Copy link
Contributor

Previously, if "there is a basename" but the path "has the basename" the warning would show.

Now correctly doesn't show the warning.

@pshrmn
Copy link
Contributor

pshrmn commented Jun 6, 2017

Yeah, this should be merged. warning strikes again. It appears I broke this in #459 by not negating the hasBasename result 🤦‍♂️ . At least there hasn't been a release since that was merged.

@jeffreypriebe jeffreypriebe force-pushed the bugfix/fix-basename-match-warning branch from 427e61b to 93992e8 Compare June 6, 2017 21:38
@jeffreypriebe
Copy link
Contributor Author

@pshrmn The 'false = show` of 'warning' makes it so I had to read it very carefully to get it right. I understand why they choose that way, but it is counter intuitive.

@timdorr
Copy link
Member

timdorr commented Jun 13, 2017

Merging as a bugfix, as per #465 (comment)

@timdorr timdorr merged commit 2e50334 into remix-run:master Jun 13, 2017
@mjackson
Copy link
Member

Thanks for this, @jeffreypriebe 💃

@jeffreypriebe jeffreypriebe deleted the bugfix/fix-basename-match-warning branch June 16, 2017 05:08
@lock lock bot locked as resolved and limited conversation to collaborators Jan 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants