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

Simplify file reads #12386

Merged
merged 1 commit into from Jan 4, 2022
Merged

Simplify file reads #12386

merged 1 commit into from Jan 4, 2022

Conversation

tas50
Copy link
Contributor

@tas50 tas50 commented Dec 17, 2021

This is a new RuboCop cop that moves things to file.read an file.binread vs. an open and then a read.

Signed-off-by: Tim Smith tsmith@chef.io

This is a new RuboCop cop that moves things to file.read an file.binread vs. an open and then a read.

Signed-off-by: Tim Smith <tsmith@chef.io>
@tas50 tas50 requested review from a team as code owners December 17, 2021 16:58
@lamont-granquist lamont-granquist merged commit b4ffba1 into main Jan 4, 2022
@lamont-granquist lamont-granquist deleted the simplified_read branch January 4, 2022 21:06
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.

None yet

2 participants