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:
parent
cab9053067
commit
2edbd2a597
@ -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'
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user