diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-11-08 12:34:21 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-11-08 12:34:21 +0000 |
commit | 5d7bddd65c0591a1abaa78d54b0241670aca90c3 (patch) | |
tree | 6ae4434e7d83f0b48d4e025db04a7be51a39ba91 /lib/redmine | |
parent | 7d03976e6a2aea66088395accaff4b58cb7f093f (diff) | |
download | redmine-5d7bddd65c0591a1abaa78d54b0241670aca90c3.tar.gz redmine-5d7bddd65c0591a1abaa78d54b0241670aca90c3.zip |
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
Diffstat (limited to 'lib/redmine')
-rw-r--r-- | lib/redmine/scm/adapters/mercurial_adapter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/scm/adapters/mercurial_adapter.rb b/lib/redmine/scm/adapters/mercurial_adapter.rb index ce6f1daf9..82a773224 100644 --- a/lib/redmine/scm/adapters/mercurial_adapter.rb +++ b/lib/redmine/scm/adapters/mercurial_adapter.rb @@ -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), |