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

Fixes file saving in formatData. #193

Merged
merged 1 commit into from
Jul 24, 2024
Merged

Conversation

slightlyoff
Copy link
Contributor

Previously, formatData did not correctly handle cases when the returned content was binary in nature but was not a Buffer instance. This led to bugs such as failures when running:

npx webpagetest waterfall <test_id> -o out.png -k <key>

I'm not sure this patch is 100% correct, as the tests require Docker and that isn't running on my current device.

Fixes #192

Previously, `formatData`  did not correctly handle cases when the
returned content was binary in nature but was not a `Buffer` instance.
This led to bugs such as failures when running:

`npx webpagetest waterfall <test_id> -o out.png -k <key>`

I'm not sure this patch is 100% correct, as the tests require Docker and
that isn't running on my current device.
@claud-io claud-io merged commit 8e0dfc1 into catchpoint:master Jul 24, 2024
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.

waterfall PNG download fails
3 participants