don't need to be dup

This commit is contained in:
Yann Lugrin 2010-10-23 21:49:21 +08:00 committed by Thibaud Guillaume-Gentil
parent dd04914657
commit 7af452dc4c

View File

@ -56,7 +56,7 @@ module Guard
unless files.empty?
files.map! { |file| file.gsub("#{Dir.pwd}/", '') }
callback.call(files.dup)
callback.call(files)
files.clear
end