Skip to content

Conversation

molawson
Copy link
Contributor

These rake task helpers are super handy, but they don't allow configuring the --print-width option. This adds the option to both WriteTask and CheckTask, making it available in just the same way as the other options.

The existing tests for this rake task don't exercise most of the other options, so I didn't add any new tests here, especially since the logic is minimal. I have tested this locally, and it's working exactly as expected. I'm also happy to add more automated tests if you'd like.

@molawson molawson mentioned this pull request Jul 30, 2022
@kddnewton
Copy link
Member

Looks good!

@kddnewton kddnewton merged commit cf97c1b into ruby-syntax-tree:main Jul 31, 2022
@molawson molawson deleted the rake-print-width-arg branch August 1, 2022 21:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants