added return

This commit is contained in:
Abhinav Adduri 2017-06-02 14:54:50 -07:00
parent f80c0b5b1d
commit 6ffff34bff
1 changed files with 1 additions and 0 deletions

View File

@ -23,6 +23,7 @@ class FileReceiver extends EventEmitter {
if (xhr.status === 404) { if (xhr.status === 404) {
reject(new Error('The file has expired, or has already been deleted.')); reject(new Error('The file has expired, or has already been deleted.'));
return;
} }
let blob = new Blob([this.response]); let blob = new Blob([this.response]);