don't need to be dup
This commit is contained in:
parent
dd04914657
commit
7af452dc4c
@ -56,7 +56,7 @@ module Guard
|
|||||||
|
|
||||||
unless files.empty?
|
unless files.empty?
|
||||||
files.map! { |file| file.gsub("#{Dir.pwd}/", '') }
|
files.map! { |file| file.gsub("#{Dir.pwd}/", '') }
|
||||||
callback.call(files.dup)
|
callback.call(files)
|
||||||
files.clear
|
files.clear
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user