Skip to content

Commit 593b870

Browse files
committed
Corrected typo
1 parent b0a5ffd commit 593b870

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/fileinfo.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ module.exports = function (options) {
1616
this.error = 'File is too small';
1717
} else if (options.maxFileSize && options.maxFileSize < this.size) {
1818
this.error = 'File is too big';
19-
} else if (_.indexOf(options.acceptFileTypes, this.type === -1) {
19+
} else if (_.indexOf(options.acceptFileTypes, this.type === -1)) {
2020
this.error = 'Filetype not allowed';
2121
}
2222
return !this.error;

0 commit comments

Comments
 (0)