fixed issues in branch title

This commit is contained in:
Abhinav Adduri 2017-07-11 11:18:31 -07:00
parent 109fd671e0
commit 6231385c74
3 changed files with 30 additions and 1 deletions

View file

@ -12,7 +12,7 @@ class FileReceiver extends EventEmitter {
const xhr = new XMLHttpRequest();
xhr.onprogress = event => {
if (event.lengthComputable) {
if (event.lengthComputable && event.target.status !== 404) {
const percentComplete = Math.floor(
event.loaded / event.total * 100
);