Skip to content

Commit

Permalink
fix: delete tmp masked images (#208)
Browse files Browse the repository at this point in the history
  • Loading branch information
jakowenko committed May 23, 2022
1 parent 24bdcef commit c6b40c5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/src/util/process.util.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ module.exports.polling = async (

allResults.push(...results);

if (tmp.mask) filesystem.delete(tmp.mask);
filesystem.delete(tmp.source);

if (foundMatch) {
Expand Down

0 comments on commit c6b40c5

Please sign in to comment.