Use uniq on the globs array

This avoids search repetition.
bug/bundler_fix
William Vu 2015-07-22 14:25:49 -05:00
parent 6685fc479b
commit a52bf4526d
1 changed files with 1 additions and 1 deletions

View File

@ -146,7 +146,7 @@ class Console::CommandDispatcher::Stdapi::Fs
return
end
globs.each do |glob|
globs.uniq.each do |glob|
files += client.fs.file.search(root, glob, recurse)
end