1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-10-17 17:01:01 +00:00

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
This commit is contained in:
Toshi MARUYAMA 2019-09-12 15:08:21 +00:00
parent cab9053067
commit 2edbd2a597
2 changed files with 1 additions and 2 deletions

View File

@ -508,7 +508,6 @@ Lint/AmbiguousOperator:
Exclude:
- 'app/controllers/application_controller.rb'
- 'app/helpers/application_helper.rb'
- 'lib/redmine/scm/adapters/mercurial_adapter.rb'
- 'test/unit/custom_field_test.rb'
- 'test/unit/member_test.rb'

View File

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