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