summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/App/Hashl.pm4
1 files changed, 2 insertions, 2 deletions
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 {