We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4199a39 commit 284f8d1Copy full SHA for 284f8d1
lib/uploadhandler.js
@@ -163,6 +163,7 @@ module.exports = function (options) {
163
fs.unlink(options.uploadDir() + '/' + fileName, function (ex) {
164
_.each(options.imageVersions, function (value, version) {
165
fs.unlink(options.uploadDir() + '/' + version + '/' + fileName);
166
+ self.emit('delete', fileName);
167
});
168
self.callback(!ex);
169
0 commit comments