From c708681021c7832a231b199e0e15159b8d75f3d0 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 17 May 2011 23:43:58 +0200 Subject: Further tests --- lib/App/Hashl.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/App/Hashl.pm b/lib/App/Hashl.pm index 58af4a6..8d3187c 100644 --- a/lib/App/Hashl.pm +++ b/lib/App/Hashl.pm @@ -149,7 +149,8 @@ sub ignored { sub ignore { my ($self, $file) = @_; - push(@{ $self->{ignored}->{hashes} }, $file); + $self->delete_file($file); + push(@{ $self->{ignored}->{hashes} }, $self->hash_file($file)); } sub save { -- cgit v1.2.3