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

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]);