**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