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:
Go MAEDA
2022-09-01 04:53:28 +00:00
parent 59841e5b68
commit 45fafc7e44

View File

@@ -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