Closed Osintedx closed 1 month ago
This was just a small fun fixture for netflix to review, and repair as obviously someone was in a rush.
@Osintedx thanks for your contribution. Can you please open a pull request with your proposed changes?
Hey @klebba, I dont have any permissions to do so.
You'll need to create a fork, commit changes on a branch, then make a pull request to the origin from your forked branch:
Also I took a closer look at your suggestion above; are you sure the change does what you think? From what I can tell it would modify the conditional flow; however a diff would be easier to comment on.
Some curiosities of mine: how did you come across this library? What are you using it for? Could inform how we can help you -- thanks!
Hey there @klebba I have gone ahead and done it.
Thanks @Osintedx — regrettably we have not published any contributing guidelines yet, but I have opened #186 to capture the need and include an initial outline. In the interim my feedback is that the changes proposed in #185 do not appear to address an issue with the x-element
library. Thank you for your interest, however at this time we would not be able to review an un-scoped refactor like this. If there is a bug please scope your change to address that bug.
Short Explanation of Changes: the If statement shouldn't be the only statement in the else block on line 43, its bad code practice.
New Code: