mirror of
https://github.com/redmine/redmine.git
synced 2026-01-30 03:09:58 +01:00
Fix RuboCop offense Layout/LineLength due to r21785 (#37586).
git-svn-id: https://svn.redmine.org/redmine/trunk@21791 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -167,7 +167,8 @@ module Redmine
|
||||
end
|
||||
|
||||
def with_trailling_slash(path)
|
||||
ActiveSupport::Deprecation.warn 'Redmine::Scm::Adapters::AbstractAdapter#with_trailling_slash is deprecated and will be removed in Redmine 6.0. Please use #with_trailing_slash instead.'
|
||||
ActiveSupport::Deprecation.warn 'Redmine::Scm::Adapters::AbstractAdapter#with_trailling_slash is ' \
|
||||
'deprecated and will be removed in Redmine 6.0. Please use #with_trailing_slash instead.'
|
||||
with_trailing_slash(path)
|
||||
end
|
||||
|
||||
@@ -182,7 +183,8 @@ module Redmine
|
||||
end
|
||||
|
||||
def without_trailling_slash(path)
|
||||
ActiveSupport::Deprecation.warn 'Redmine::Scm::Adapters::AbstractAdapter#without_trailling_slash is deprecated and will be removed in Redmine 6.0. Please use #without_trailing_slash instead.'
|
||||
ActiveSupport::Deprecation.warn 'Redmine::Scm::Adapters::AbstractAdapter#without_trailling_slash is ' \
|
||||
'deprecated and will be removed in Redmine 6.0. Please use #without_trailing_slash instead.'
|
||||
without_trailing_slash(path)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user