1
0
mirror of https://gitcode.com/github-mirrors/react-native-update-cli.git synced 2025-12-18 11:45:08 +08:00
Code Issues Packages Projects Releases Wiki Activity GitHub Gitee

init i18n

This commit is contained in:
sunnylqm
2025-02-15 00:38:55 +08:00
parent 814a9d10fb
commit 0f44de772f
8 changed files with 33 additions and 5 deletions

View File

@@ -121,7 +121,7 @@ export async function uploadFile(fn: string, key?: string) {
timeout: 1000,
});
// console.log({pingResult});
if (isNaN(pingResult.avg) || pingResult.avg > 150) {
if (Number.isNaN(pingResult.avg) || pingResult.avg > 150) {
realUrl = backupUrl;
}
}