Skip to content

Remove nonsensical boolean check#27787

Merged
XhmikosR merged 2 commits intov4-devfrom
v4-dev-patch1
Dec 6, 2018
Merged

Remove nonsensical boolean check#27787
XhmikosR merged 2 commits intov4-devfrom
v4-dev-patch1

Conversation

@patrickhlauke
Copy link
Copy Markdown
Member

...as it always evaluates to true

closes #27786

...as it always evaluates to true
@patrickhlauke patrickhlauke requested a review from a team as a code owner December 6, 2018 00:17
@patrickhlauke
Copy link
Copy Markdown
Member Author

at least, i'm assuming the current behavior is what's intended (or it would have been spotted earlier), so removed the superfluous boolean check. but admittedly, i only looked at this superficially, and perhaps the boolean is simply wrong and should have been && inside those brackets rather than || ?

@XhmikosR XhmikosR added the v4 label Dec 6, 2018
@Johann-S
Copy link
Copy Markdown
Member

Johann-S commented Dec 6, 2018

It seems more logical to me this way @patrickhlauke 👍

@mdo mdo mentioned this pull request Dec 6, 2018
@XhmikosR XhmikosR merged commit c70b043 into v4-dev Dec 6, 2018
@XhmikosR XhmikosR deleted the v4-dev-patch1 branch December 6, 2018 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants