1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

**Must** use IO::NULL for null device

This commit is contained in:
NAKAMURA Usaku 2019-04-30 18:01:17 +09:00
parent c222f4d31f
commit 5a83a1d554
No known key found for this signature in database
GPG key ID: C5FE8AEA64F81259

View file

@ -221,7 +221,7 @@ class << Merger
def svn_mode?
return @svn_mode if defined?(@svn_mode)
@svn_mode = system("svn info > /dev/null 2>&1")
@svn_mode = system("svn info > #{IO::NULL} 2>&1")
end
# Prints the version of Ruby found in version.h