Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: do not await workbox-window messageSkipWaiting non-async function #795

Merged
merged 1 commit into from
Nov 29, 2024

Conversation

piotr-cz
Copy link
Contributor

Description

The Workbox#messageSkipWaiting method is not asynchronous (never was), therefore there is no need to await it

Linked Issues

None

Additional Context

See https://github.com/GoogleChrome/workbox/blob/v7.3.0/packages/workbox-window/src/Workbox.ts#L325

Copy link

netlify bot commented Nov 21, 2024

Deploy Preview for vite-plugin-pwa-legacy ready!

Name Link
🔨 Latest commit 9cf2d2e
🔍 Latest deploy log https://app.netlify.com/sites/vite-plugin-pwa-legacy/deploys/673f27531182890008a2edea
😎 Deploy Preview https://deploy-preview-795--vite-plugin-pwa-legacy.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@piotr-cz piotr-cz changed the title Fix: Do not await workbox-window messageSkipWaiting fix: do not await workbox-window messageSkipWaiting non-async function Nov 22, 2024
@userquin userquin merged commit f51974c into vite-pwa:main Nov 29, 2024
5 checks passed
@piotr-cz piotr-cz deleted the bugfix/async-skip-waiting-message branch November 30, 2024 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants