cleanup: rubocop: fix Layout/SpaceInsideParens in lib/redmine/scm/adapters/mercurial_adapter.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@18956 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA
2019-11-08 12:34:21 +00:00
parent 7d03976e6a
commit 5d7bddd65c
2 changed files with 1 additions and 2 deletions

View File

@@ -206,7 +206,7 @@ module Redmine
end
cpmap = Hash[*cpalist.flatten]
paths = as_ary(le['paths']['path']).map do |e|
p = scm_iconv('UTF-8', @path_encoding, CGI.unescape(e['__content__']) )
p = scm_iconv('UTF-8', @path_encoding, CGI.unescape(e['__content__']))
{:action => e['action'],
:path => with_leading_slash(p),
:from_path => (cpmap.member?(p) ? with_leading_slash(cpmap[p]) : nil),