mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Use redirect keyword arguments instead of ">"
This commit is contained in:
parent
50872f4a15
commit
dd942cd5b3
2 changed files with 2 additions and 2 deletions
|
@ -222,7 +222,7 @@ class << Merger
|
|||
|
||||
def svn_mode?
|
||||
return @svn_mode if defined?(@svn_mode)
|
||||
@svn_mode = system("svn info > #{IO::NULL} 2>&1")
|
||||
@svn_mode = system("svn info", %i(out err) => IO::NULL)
|
||||
end
|
||||
|
||||
# Prints the version of Ruby found in version.h
|
||||
|
|
|
@ -436,7 +436,7 @@ eom
|
|||
next
|
||||
end
|
||||
|
||||
if system("svn info #{RUBY_REPO_PATH&.shellescape} > #{IO::NULL} 2>&1") # SVN
|
||||
if system("svn info #{RUBY_REPO_PATH&.shellescape}", %i(out err) => IO::NULL) # SVN
|
||||
if log = find_svn_log("##@issue]") && /revision="(?<rev>\d+)/ =~ log
|
||||
rev = "r#{rev}"
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue