summaryrefslogtreecommitdiff
path: root/tool/redmine-backporter.rb
diff options
context:
space:
mode:
authorNAKAMURA Usaku <usa@ruby-lang.org>2019-04-30 22:24:45 +0900
committerNAKAMURA Usaku <usa@ruby-lang.org>2019-04-30 22:24:45 +0900
commitdd942cd5b31947f6a514d4a916971011fbabc089 (patch)
tree40f63b84b4ec670e730487bc53534a433ced331f /tool/redmine-backporter.rb
parent50872f4a15a2070fa007c1d85fcf44802e4bcc0b (diff)
downloadruby-dd942cd5b31947f6a514d4a916971011fbabc089.tar.gz
Use redirect keyword arguments instead of ">"
Diffstat (limited to 'tool/redmine-backporter.rb')
-rwxr-xr-xtool/redmine-backporter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/redmine-backporter.rb b/tool/redmine-backporter.rb
index 1ac001bb6e..a7bce96fe2 100755
--- a/tool/redmine-backporter.rb
+++ b/tool/redmine-backporter.rb
@@ -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