Skip to content

fix(scully-plugin-puppeteer): correctly track requests in bare project#1610

Merged
SanderElias merged 1 commit intoscullyio:mainfrom
gkalpak:patch-1
Sep 21, 2022
Merged

fix(scully-plugin-puppeteer): correctly track requests in bare project#1610
SanderElias merged 1 commit intoscullyio:mainfrom
gkalpak:patch-1

Conversation

@gkalpak
Copy link
Copy Markdown
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
Copy Markdown

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
Copy Markdown
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