Skip to content

Filter out null file entries#7

Merged
dgraham merged 1 commit intomasterfrom
null-entries
Mar 31, 2020
Merged

Filter out null file entries#7
dgraham merged 1 commit intomasterfrom
null-entries

Conversation

@dgraham
Copy link
Contributor

@dgraham dgraham commented Mar 31, 2020

We have this entry null test elsewhere but were missing it while finding the root entries in the drop transfer.

If the item isn't a file, null is returned.
https://developer.mozilla.org/en-US/docs/Web/API/DataTransferItem/webkitGetAsEntry

We have this entry null test elsewhere but were missing it while finding
the root entries in the drop transfer.

> If the item isn't a file, null is returned.
—https://developer.mozilla.org/en-US/docs/Web/API/DataTransferItem/webkitGetAsEntry
@dgraham dgraham requested a review from a team March 31, 2020 17:08
@dgraham dgraham merged commit bd9ff1a into master Mar 31, 2020
@dgraham dgraham deleted the null-entries branch March 31, 2020 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants