mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-20 15:31:12 +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:
|
Exclude:
|
||||||
- 'app/controllers/application_controller.rb'
|
- 'app/controllers/application_controller.rb'
|
||||||
- 'app/helpers/application_helper.rb'
|
- 'app/helpers/application_helper.rb'
|
||||||
- 'lib/redmine/scm/adapters/mercurial_adapter.rb'
|
|
||||||
- 'test/unit/custom_field_test.rb'
|
- 'test/unit/custom_field_test.rb'
|
||||||
- 'test/unit/member_test.rb'
|
- 'test/unit/member_test.rb'
|
||||||
|
|
||||||
|
|||||||
@ -245,7 +245,7 @@ module Redmine
|
|||||||
hg_args << '--' << CGI.escape(hgtarget(p))
|
hg_args << '--' << CGI.escape(hgtarget(p))
|
||||||
end
|
end
|
||||||
diff = []
|
diff = []
|
||||||
hg *hg_args do |io|
|
hg(*hg_args) do |io|
|
||||||
io.each_line do |line|
|
io.each_line do |line|
|
||||||
diff << line
|
diff << line
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user