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

Fixed comparison at bin/cmd #1822

Closed
wants to merge 1 commit into from
Closed

Fixed comparison at bin/cmd #1822

wants to merge 1 commit into from

Conversation

Rudxain
Copy link

@Rudxain Rudxain commented Jun 22, 2022

What is the purpose of this pull request? (put an "X" next to item)

[ ] Documentation update
[x] Bug fix
[ ] New feature
[ ] Other, please explain:

What changes did you make? (Give an overview)
Changed a comparison within an expression to what it seemed correct. The expression after the || tested for equality, but the >= op already did that, so I changed it to allow === to be useful

Which issue (if any) does this pull request address?
None. I searched and didn't find anything similar

Is there anything you'd like reviewers to focus on?

@welcome
Copy link

welcome bot commented Jun 22, 2022

🙌 Thanks for opening this pull request! You're awesome.

@voxpelli
Copy link
Member

Thanks @Rudxain 🙏

I will hold off on merging this as I just did a rewrite to make use of version-guard and that way remove the possibility for these kinds of errors going forward: #1829 1829

It also helps checking that the version checked against is actually the intended version to check against, as it in this case actually should be 12.22, not 12.20.

This also relates to #1828

@Rudxain
Copy link
Author

Rudxain commented Jul 17, 2022

Ok. So, should I close the PR? Is it useful to keep it open?

@voxpelli
Copy link
Member

Let’s leave it open for now

@voxpelli
Copy link
Member

Fixed by #1828 with inspiration from this PR, thanks 🙏

@voxpelli voxpelli closed this Jul 19, 2022
@Rudxain Rudxain deleted the patch-1 branch July 19, 2022 23:35
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants