Skip to content

Use File instead of IO for file operations - #105367

Merged
Rylan12 merged 3 commits into
Homebrew:masterfrom
Rylan12:file-instead-of-io
May 11, 2021
Merged

Rylan12 merged 3 commits into
Homebrew:masterfrom
Rylan12:file-instead-of-io

Conversation

@Rylan12

@Rylan12 Rylan12 commented May 8, 2021

Copy link
Copy Markdown
Contributor

Important: Do not tick a checkbox if you haven’t performed its action. Honesty is indispensable for a smooth review process.

After making all changes to a cask, verify:

See Homebrew/brew#11140

Replace IO.write and IO.read with File.write and File.read, respectively, in j, minecraft-server, and openzfs.

Note that I was unable to test this for openzfs because it depends on certain macOS versions that I don't have access to (i.e. doesn't work on Big Sur).

@Rylan12

Rylan12 commented May 8, 2021 •

Copy link
Copy Markdown
Contributor Author

CC @samford because I'm not sure about some of these livecheck blocks

vitorgalvao
vitorgalvao previously approved these changes May 8, 2021
Comment thread Casks/j.rb Resolved
Comment thread Casks/minecraft-server.rb Resolved
Comment thread Casks/openzfs.rb Resolved
Bo98
Bo98 previously approved these changes May 10, 2021
@Bo98

Bo98 commented May 10, 2021

Copy link
Copy Markdown
Member

Thanks!

@Rylan12
Rylan12 merged commit f47ea35 into Homebrew:master May 11, 2021
@Rylan12
Rylan12 deleted the file-instead-of-io branch May 11, 2021 13:05
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Jun 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants