From 8b12cdc391d6cfedf45b780e37263711aa448a87 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 18 May 2011 02:49:12 +0200 Subject: Fix hashl ignore --- lib/App/Hashl.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/App/Hashl.pm') diff --git a/lib/App/Hashl.pm b/lib/App/Hashl.pm index 8d3187c..9ce17a5 100644 --- a/lib/App/Hashl.pm +++ b/lib/App/Hashl.pm @@ -147,10 +147,10 @@ sub ignored { } sub ignore { - my ($self, $file) = @_; + my ($self, $file, $path) = @_; $self->delete_file($file); - push(@{ $self->{ignored}->{hashes} }, $self->hash_file($file)); + push(@{ $self->{ignored}->{hashes} }, $self->hash_file($path)); } sub save { -- cgit v1.2.3