diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-09-12 15:08:21 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-09-12 15:08:21 +0000 |
commit | 2edbd2a5974bb01dd38b94507d56c355dbe8b4ae (patch) | |
tree | d2e5ad615016b0101765ede735a93ed979eac9a4 /lib/redmine/scm | |
parent | cab9053067930adc8c3c573ffe39c443aba1ed87 (diff) | |
download | redmine-2edbd2a5974bb01dd38b94507d56c355dbe8b4ae.tar.gz redmine-2edbd2a5974bb01dd38b94507d56c355dbe8b4ae.zip |
code cleanup: rubocop: fix Lint/AmbiguousOperator in lib/redmine/scm/adapters/mercurial_adapter.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18456 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine/scm')
-rw-r--r-- | lib/redmine/scm/adapters/mercurial_adapter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/scm/adapters/mercurial_adapter.rb b/lib/redmine/scm/adapters/mercurial_adapter.rb index ea4461697..fb78b05d1 100644 --- a/lib/redmine/scm/adapters/mercurial_adapter.rb +++ b/lib/redmine/scm/adapters/mercurial_adapter.rb @@ -245,7 +245,7 @@ module Redmine hg_args << '--' << CGI.escape(hgtarget(p)) end diff = [] - hg *hg_args do |io| + hg(*hg_args) do |io| io.each_line do |line| diff << line end |