1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-19 15:01:14 +00:00

rubocop: fix Layout/AccessModifierIndentation of scm/adapters/abstract_adapter.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@18331 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2019-07-29 05:38:30 +00:00
parent c831786e3a
commit 00d3fa02e2
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,6 @@ Layout/AccessModifierIndentation:
- 'app/models/role.rb' - 'app/models/role.rb'
- 'app/models/setting.rb' - 'app/models/setting.rb'
- 'app/models/tracker.rb' - 'app/models/tracker.rb'
- 'lib/redmine/scm/adapters/abstract_adapter.rb'
- 'lib/redmine/wiki_formatting/textile/formatter.rb' - 'lib/redmine/wiki_formatting/textile/formatter.rb'
- 'lib/redmine/wiki_formatting/textile/redcloth3.rb' - 'lib/redmine/wiki_formatting/textile/redcloth3.rb'

View File

@ -178,7 +178,8 @@ module Redmine
(path[-1,1] == "/") ? path[0..-2] : path (path[-1,1] == "/") ? path[0..-2] : path
end end
private private
def retrieve_root_url def retrieve_root_url
info = self.info info = self.info
info ? info.root_url : nil info ? info.root_url : nil