From 7a8640d582f737902eaafa76086fc4f47609f7d8 Mon Sep 17 00:00:00 2001 From: sunnylqm Date: Fri, 11 Apr 2025 17:36:04 +0800 Subject: [PATCH] fix lint --- src/client.ts | 1 + src/provider.tsx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/client.ts b/src/client.ts index cac19db..fa431df 100644 --- a/src/client.ts +++ b/src/client.ts @@ -154,6 +154,7 @@ export class Pushy { }; static assertHash = (hash: string) => { if (!Pushy.downloadedHash) { + log('no downloaded hash'); return; } if (hash !== Pushy.downloadedHash) { diff --git a/src/provider.tsx b/src/provider.tsx index b55aaa0..755450a 100644 --- a/src/provider.tsx +++ b/src/provider.tsx @@ -241,7 +241,7 @@ export const UpdateProvider = ({ client, alertError, throwErrorIfEnabled, - options.updateStrategy, + options, alertUpdate, downloadAndInstallApk, downloadUpdate,