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 f28f5e9 commit 80be7efCopy full SHA for 80be7ef
lib/uploadhandler.js
@@ -103,7 +103,7 @@ module.exports = function (options) {
103
fileInfo.size = file.size;
104
if (!fileInfo.validate()) {
105
fs.unlink(file.path);
106
- counter--;
+ finish();
107
return;
108
}
109
@@ -146,7 +146,7 @@ module.exports = function (options) {
146
});
147
148
149
- else counter--;
+ else finish();
150
151
})
152
.on('aborted', function () {
0 commit comments