1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-01-01 05:09:40 +00:00

code cleanup: rubocop: fix Layout/SpaceInsideReferenceBrackets in lib/redmine/scm/adapters/subversion_adapter.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@18447 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2019-09-11 05:50:51 +00:00
parent cf8232b4ca
commit f26590189b
2 changed files with 1 additions and 2 deletions

View File

@ -492,7 +492,6 @@ Layout/SpaceInsideRangeLiteral:
# SupportedStylesForEmptyBrackets: space, no_space
Layout/SpaceInsideReferenceBrackets:
Exclude:
- 'lib/redmine/scm/adapters/subversion_adapter.rb'
- 'test/unit/lib/redmine/scm/adapters/git_adapter_test.rb'
# Cop supports --auto-correct.

View File

@ -138,7 +138,7 @@ module Redmine
begin
doc = parse_xml(output)
each_xml_element(doc['properties']['target'], 'property') do |property|
properties[ property['name'] ] = property['__content__'].to_s
properties[property['name']] = property['__content__'].to_s
end
rescue
end