mirror of
https://gitcode.com/github-mirrors/react-native-update-cli.git
synced 2025-12-18 11:45:08 +08:00
init i18n
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user