Skip to content

Commit

Permalink
Fix lazyblob tempdir cleanup (#160)
Browse files Browse the repository at this point in the history
Signed-off-by: Igor Shishkin <me@teran.dev>
  • Loading branch information
teran committed Aug 18, 2024
1 parent a72c190 commit 7dd0970
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/lazyblob/lazyblob.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ func (l *lazyblob) Close() error {
l.mutex.Lock()
defer l.mutex.Unlock()

if err := os.RemoveAll(l.tempDir); err != nil {
if err := os.Remove(l.tempFilename); err != nil {
return err
}

Expand Down

0 comments on commit 7dd0970

Please sign in to comment.