Closed baweaver closed 7 years ago
Adding a ternary to something that returns a boolean is redundant:
[1] pry(main)> true == true => true [2] pry(main)> true == true ? true : false => true [3] pry(main)> true == false ? true : false => false [4] pry(main)> true == false => false
Is this in reference to an existing issue?
[ ] Update Changelog following the conventions laid out on Keep A Changelog
[ ] Update README with any necessary configuration snippets
[ ] Binstubs are created if needed
[ ] RuboCop passes
[ ] Existing tests pass
[ ] Tests
[ ] Add the plugin to the README
[ ] Does it have a complete header as outlined here
Adding a ternary to something that returns a boolean is redundant:
Pull Request Checklist
Is this in reference to an existing issue?
General
[ ] Update Changelog following the conventions laid out on Keep A Changelog
[ ] Update README with any necessary configuration snippets
[ ] Binstubs are created if needed
[ ] RuboCop passes
[ ] Existing tests pass
New Plugins
[ ] Tests
[ ] Add the plugin to the README
[ ] Does it have a complete header as outlined here
Purpose
Known Compatablity Issues