mirror of
https://gitcode.com/gh_mirrors/re/react-native-pushy.git
synced 2025-09-19 01:00:39 +08:00
v10.0.0-beta.2
This commit is contained in:
@@ -154,7 +154,6 @@ export class Pushy {
|
||||
if (resp.status !== 200) {
|
||||
report({
|
||||
type: 'errorChecking',
|
||||
//@ts-ignore
|
||||
message: result.message,
|
||||
});
|
||||
}
|
||||
@@ -187,11 +186,11 @@ export class Pushy {
|
||||
onDownloadProgress?: (data: ProgressData) => void,
|
||||
) => {
|
||||
assertRelease();
|
||||
if (!('update' in info)) {
|
||||
return;
|
||||
}
|
||||
const { hash, diffUrl, pdiffUrl, updateUrl, name, description, metaInfo } =
|
||||
info;
|
||||
if (!info.update || !hash) {
|
||||
return;
|
||||
}
|
||||
if (rolledBackVersion === hash) {
|
||||
log(`rolledback hash ${rolledBackVersion}, ignored`);
|
||||
return;
|
||||
|
Reference in New Issue
Block a user