From 7af452dc4c6dbbe76306097033ba27bebc2fb9d4 Mon Sep 17 00:00:00 2001 From: Yann Lugrin Date: Sat, 23 Oct 2010 21:49:21 +0800 Subject: [PATCH] don't need to be dup --- lib/guard/listeners/linux.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/guard/listeners/linux.rb b/lib/guard/listeners/linux.rb index 7bd3048..a4d4f05 100644 --- a/lib/guard/listeners/linux.rb +++ b/lib/guard/listeners/linux.rb @@ -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