From 02c4465940c3a5e1e35f58d30544d6ba02407731 Mon Sep 17 00:00:00 2001 From: Darren Pearce Date: Fri, 26 Aug 2011 23:42:31 -0600 Subject: [PATCH] added fetch to fix failing tests --- lib/guard/listener.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/guard/listener.rb b/lib/guard/listener.rb index 51a3d12..b099770 100644 --- a/lib/guard/listener.rb +++ b/lib/guard/listener.rb @@ -30,7 +30,7 @@ module Guard @sha1_checksums_hash = {} @file_timestamp_hash = {} @relativize_paths = options.fetch(:relativize_paths, true) - @watch_deletions = options.deletions + @watch_deletions = options.fetch(:deletions, false) update_last_event end