mirror of
https://github.com/redmine/redmine.git
synced 2025-12-16 05:20:28 +01:00
add empty line after guard clause to FilesystemAdapter
git-svn-id: http://svn.redmine.org/redmine/trunk@19927 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -67,6 +67,7 @@ module Redmine
|
||||
Dir.new(trgt).each do |e1|
|
||||
e_utf8 = scm_iconv('UTF-8', @path_encoding, e1)
|
||||
next if e_utf8.blank?
|
||||
|
||||
relative_path_utf8 = format_path_ends(
|
||||
(format_path_ends(path,false,true) + e_utf8),false,false)
|
||||
t1_utf8 = target(relative_path_utf8)
|
||||
@@ -112,6 +113,7 @@ module Redmine
|
||||
if path and !/(^|\/)\.\.(\/|$)/.match?(path)
|
||||
return "#{self.url}#{without_leading_slash(path)}"
|
||||
end
|
||||
|
||||
return self.url
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user