fixing lint bug for xhr.onload
This commit is contained in:
parent
8baa6d0964
commit
6e168edf3e
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ class FileReceiver extends EventEmitter {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
xhr.onload = event => {
|
xhr.onload = function(event) {
|
||||||
if (xhr.status === 404) {
|
if (xhr.status === 404) {
|
||||||
reject(
|
reject(
|
||||||
new Error('The file has expired, or has already been deleted.')
|
new Error('The file has expired, or has already been deleted.')
|
||||||
|
|
Loading…
Reference in a new issue