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(scully-plugin-puppeteer): correctly track requests in bare project #1610

Merged
merged 1 commit into from
Sep 21, 2022
Merged

Conversation

gkalpak
Copy link
Contributor

@gkalpak gkalpak commented Sep 21, 2022

Previously, instead of adding/removing each request from the requests set, the set itself was added/removed. Since Set deduplicates its values, it would always contain just one item (regardless of how many requests would be pending) and it would be emptied once the first request was completed.

This commit fixes this by adding/removing the actual request to/from the requests set.

Previously, instead of adding/removing each request from the `requests`
set, the set itself was added/removed. Since `Set` deduplicates its
values, it would always contain just one item (regardless of how many
requests would be pending) and it would be emptied once the first
request was completed.

This commit fixes this by adding/removing the actual request to/from the
`requests` set.
@CLAassistant
Copy link

CLAassistant commented Sep 21, 2022

CLA assistant check
All committers have signed the CLA.

@gkalpak gkalpak marked this pull request as ready for review September 21, 2022 11:08
Copy link
Contributor

@SanderElias SanderElias left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gkalpak Good catch! this is an obvious thing, once spotted!

@SanderElias SanderElias merged commit 55f99e6 into scullyio:main Sep 21, 2022
@gkalpak gkalpak deleted the patch-1 branch September 22, 2022 07:56
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.

3 participants