fix: lint

This commit is contained in:
pypy
2021-12-16 19:34:41 +09:00
parent 8623918a83
commit 43b78425d3
+8 -3
View File
@@ -13520,7 +13520,8 @@ speechSynthesis.getVoices();
D.ref = ref2; D.ref = ref2;
this.updateVRChatAvatarCache(); this.updateVRChatAvatarCache();
} }
API.getAvatar({avatarId}).then((args) => { API.getAvatar({avatarId})
.then((args) => {
var {ref} = args; var {ref} = args;
D.ref = ref; D.ref = ref;
this.updateVRChatAvatarCache(); this.updateVRChatAvatarCache();
@@ -13548,7 +13549,10 @@ speechSynthesis.getVoices();
var fileVersion = parseInt(extractFileVersion(assetUrl), 10); var fileVersion = parseInt(extractFileVersion(assetUrl), 10);
if (!fileId) { if (!fileId) {
fileId = extractFileId(ref.assetUrl); fileId = extractFileId(ref.assetUrl);
fileVersion = parseInt(extractFileVersion(ref.assetUrl), 10); fileVersion = parseInt(
extractFileVersion(ref.assetUrl),
10
);
} }
D.fileSize = ''; D.fileSize = '';
if (fileId) { if (fileId) {
@@ -13570,7 +13574,8 @@ speechSynthesis.getVoices();
D.fileSize = 'Error'; D.fileSize = 'Error';
}); });
} }
}).finally(() => { })
.finally(() => {
D.loading = false; D.loading = false;
}); });
}; };