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 3763448 commit f95d36dCopy full SHA for f95d36d
1 file changed
src/flow.js
@@ -572,7 +572,7 @@
572
// Directories have size `0` and name `.`
573
// Ignore already added files if opts.allowDuplicateUploads is set to false
574
if ((!ie10plus || ie10plus && file.size > 0) && !(file.size % 4096 === 0 && (file.name === '.' || file.fileName === '.')) &&
575
- (opts.allowDuplicateUploads || !this.getFromUniqueIdentifier(this.generateUniqueIdentifier(file)))) {
+ (this.opts.allowDuplicateUploads || !this.getFromUniqueIdentifier(this.generateUniqueIdentifier(file)))) {
576
var f = new FlowFile(this, file);
577
if (this.fire('fileAdded', f, event)) {
578
files.push(f);
0 commit comments