diff options
author | Andrew McCallum <andrew.mccallum@semafone.com> | 2018-01-15 14:10:35 +0300 |
---|---|---|
committer | Andrew McCallum <andrew.mccallum@semafone.com> | 2018-01-15 14:10:35 +0300 |
commit | ae106913d03215dac1e73e4a5897e3cf7547ce84 (patch) | |
tree | 99cb27fb0b224fb2e0d97a2a008fc6b90c03596e /app/models | |
parent | 373a9b13e7d0b5ed7126aa1427a7a515b47bdff3 (diff) |
Add space after comma per layout guidelines.
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/repository.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/repository.rb b/app/models/repository.rb index ab46872393b..a65a2b8427d 100644 --- a/app/models/repository.rb +++ b/app/models/repository.rb @@ -940,7 +940,7 @@ class Repository def search_files_by_name(query, ref) 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) end |