mirror of
https://github.com/redmine/redmine.git
synced 2026-05-08 23:26:43 +02: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user