mirror of
https://github.com/timvisee/send.git
synced 2026-04-22 22:24:37 -04:00
format
This commit is contained in:
@@ -19,9 +19,7 @@ class FileReceiver extends EventEmitter {
|
||||
|
||||
xhr.onload = function(event) {
|
||||
if (xhr.status === 404) {
|
||||
reject(
|
||||
new Error('notfound')
|
||||
);
|
||||
reject(new Error('notfound'));
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user