ensure no dups
This commit is contained in:
parent
10a1458181
commit
7e78afc6d9
@ -27,6 +27,8 @@ module Guard
|
||||
end
|
||||
|
||||
def run_on_change(files = [])
|
||||
files = files.dup.uniq
|
||||
|
||||
UI.info "Guard::Flowerbox running the following files: #{files.join(', ')}"
|
||||
|
||||
if ::Flowerbox.run(@options[:dir], @options.dup.merge(:files => files)) == 0
|
||||
|
Loading…
Reference in New Issue
Block a user