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

Use File::NULL instead of hard coded null device names #6809

Merged
merged 1 commit into from Jul 10, 2023

Conversation

nobu
Copy link
Contributor

@nobu nobu commented Jul 10, 2023

What was the end-user or developer problem that led to this PR?

git grep '"/dev/null"'.

What is your fix for the problem, implemented in this PR?

Use the dedicated constant File::NULL, which has been defined since 1.9.

Make sure the following tasks are checked

@hsbt hsbt enabled auto-merge July 10, 2023 10:24
@hsbt hsbt merged commit 3083e4e into rubygems:master Jul 10, 2023
92 checks passed
@nobu nobu deleted the null branch July 10, 2023 13:29
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