mirror of
https://gitcode.com/gh_mirrors/re/react-native-pushy.git
synced 2025-09-16 10:21:37 +08:00
fix lint
This commit is contained in:
@@ -154,6 +154,7 @@ export class Pushy {
|
|||||||
};
|
};
|
||||||
static assertHash = (hash: string) => {
|
static assertHash = (hash: string) => {
|
||||||
if (!Pushy.downloadedHash) {
|
if (!Pushy.downloadedHash) {
|
||||||
|
log('no downloaded hash');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (hash !== Pushy.downloadedHash) {
|
if (hash !== Pushy.downloadedHash) {
|
||||||
|
@@ -241,7 +241,7 @@ export const UpdateProvider = ({
|
|||||||
client,
|
client,
|
||||||
alertError,
|
alertError,
|
||||||
throwErrorIfEnabled,
|
throwErrorIfEnabled,
|
||||||
options.updateStrategy,
|
options,
|
||||||
alertUpdate,
|
alertUpdate,
|
||||||
downloadAndInstallApk,
|
downloadAndInstallApk,
|
||||||
downloadUpdate,
|
downloadUpdate,
|
||||||
|
Reference in New Issue
Block a user