1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-27 02:41:15 +00:00

add space after comma to lib/redmine/scm/adapters/abstract_adapter.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@19961 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2020-08-09 15:56:15 +00:00
parent 057c150ff7
commit b5680f4456

View File

@ -158,12 +158,12 @@ module Redmine
def with_leading_slash(path)
path ||= ''
(path[0,1]!="/") ? "/#{path}" : path
(path[0, 1]!="/") ? "/#{path}" : path
end
def with_trailling_slash(path)
path ||= ''
(path[-1,1] == "/") ? path : "#{path}/"
(path[-1, 1] == "/") ? path : "#{path}/"
end
def without_leading_slash(path)
@ -173,7 +173,7 @@ module Redmine
def without_trailling_slash(path)
path ||= ''
(path[-1,1] == "/") ? path[0..-2] : path
(path[-1, 1] == "/") ? path[0..-2] : path
end
private