Merge pull request #43 from mozilla/refactor-riff

added return
This commit is contained in:
Abhinav Adduri 2017-06-02 14:56:11 -07:00 committed by GitHub
commit 70e19030bd
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]);