mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-20 15:31:12 +00: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:
parent
3407550ab0
commit
e681a04e1c
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user