-
Notifications
You must be signed in to change notification settings - Fork 28
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
Explicitly exit deno once Lighthouse script has finished #5159
Conversation
Size Change: 0 B Total Size: 1.72 MB ℹ️ View Unchanged
|
⚡️ Lighthouse report for the changes in this PRLighthouse tested 2 URLs Report for Article
Report for Front
|
Potentially related octokit/octokit.js#2079 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure I totally understand what's causing the underlying issue, but the fix looks good to me 👍
What does this change?
Adds a
Deno.exit(0)
after action has completed.Why?
I'm not a deno expert, but I'm assuming that deno isn't exiting because its waiting for a promise to be fullfilled somewhere? This issue in octokit sounds potentially related and might be the root issue octokit/octokit.js#2079 , although I'm not quite sure why it started now.
This PR makes deno explicitly exit with a success code once all tasks have been completed.