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 284f8d1 commit ffa1758Copy full SHA for ffa1758
lib/uploadhandler.js
@@ -163,8 +163,8 @@ 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
});
+ self.emit('delete', fileName);
168
self.callback(!ex);
169
170
};
0 commit comments