BigW Consortium Gitlab

Commit ae106913 by Andrew McCallum

Add space after comma per layout guidelines.

parent 373a9b13
...@@ -940,7 +940,7 @@ class Repository ...@@ -940,7 +940,7 @@ class Repository
def search_files_by_name(query, ref) def search_files_by_name(query, ref)
return [] if empty? || query.blank? return [] if empty? || query.blank?
args = %W(ls-tree --full-tree -r #{ref || root_ref} --name-status | #{Regexp.escape(query.sub(/^\/*/,""))}) args = %W(ls-tree --full-tree -r #{ref || root_ref} --name-status | #{Regexp.escape(query.sub(/^\/*/, ""))})
run_git(args).first.lines.map(&:strip) run_git(args).first.lines.map(&:strip)
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment