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 TreeBuilder#post_check to actually reverse! the nodes #6979

Merged
merged 1 commit into from
Apr 14, 2020

Conversation

skateman
Copy link
Member

@skateman skateman commented Apr 14, 2020

My rewrite of the algorithm from JS to Ruby wasn't as good as I thought 🙈 Array#reverse in Ruby isn't the same as Array.prototype.reverse in JS. It's strange how big difference a single character can make 😭

https://github.com/ManageIQ/manageiq-ui-classic/pull/6964/files#diff-bff4131de23ce9175827098fd726ca7aL461

@miq-bot add_label bug, trees
@miq-bot assign @h-kataria

@miq-bot
Copy link
Member

miq-bot commented Apr 14, 2020

Checked commit skateman@c302fa1 with ruby 2.5.7, rubocop 0.69.0, haml-lint 0.28.0, and yamllint
1 file checked, 0 offenses detected
Everything looks fine. 🍪

@h-kataria h-kataria merged commit 5942e8e into ManageIQ:master Apr 14, 2020
@skateman skateman deleted the nodes-reverse-postcheck branch April 14, 2020 19:46
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.

3 participants