Skip to content

Commit

Permalink
Must use IO::NULL instead of platform dependent filename
Browse files Browse the repository at this point in the history
  • Loading branch information
unak committed Apr 30, 2019
1 parent 830e40e commit 1dd94df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tool/redmine-backporter.rb
Expand Up @@ -436,7 +436,7 @@ class << @changesets
next
end

if system("svn info #{RUBY_REPO_PATH&.shellescape} > /dev/null 2>&1") # SVN
if system("svn info #{RUBY_REPO_PATH&.shellescape} > #{IO::NULL} 2>&1") # SVN
if log = find_svn_log("##@issue]") && /revision="(?<rev>\d+)/ =~ log
rev = "r#{rev}"
end
Expand Down

0 comments on commit 1dd94df

Please sign in to comment.