Skip to content

Commit

Permalink
fixup! Added SW param check to shouldInstallWorker
Browse files Browse the repository at this point in the history
  • Loading branch information
jkasten2 committed Feb 23, 2021
1 parent f83aa76 commit 575d45d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/managers/ServiceWorkerManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ export class ServiceWorkerManager {
// 3.2 We don't care if the only differences is between OneSignal's A(Worker) vs B(WorkerUpdater) filename.
if (serviceWorkerHrefs.indexOf(availableWorker.scriptURL) === -1) {
Log.info(
"[changedServiceWorkerParams] ServiceWorker herf changing:",
"[changedServiceWorkerParams] ServiceWorker href changing:",
{ a_old: availableWorker?.scriptURL, b_new: serviceWorkerHrefs }
);
return true;
Expand Down

0 comments on commit 575d45d

Please sign in to comment.