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

workers: default body to provided payload #1155

Merged

Conversation

jacobbednarz
Copy link
Member

This was previously incorrectly always using body (an uninitialised slice of bytes) for the script payload when the configuration was not for an ES module upload. Fixes the upload so that both types are covered.

This was previously incorrectly always using `body` (an uninitialised
slice of bytes) for the script payload when the configuration was not
for an ES module upload. Fixes the upload so that both types are
covered.
@codecov-commenter
Copy link

Codecov Report

Merging #1155 (7e65cb2) into master (6153c1e) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #1155   +/-   ##
=======================================
  Coverage   49.40%   49.40%           
=======================================
  Files         127      127           
  Lines       12290    12290           
=======================================
  Hits         6072     6072           
  Misses       4840     4840           
  Partials     1378     1378           
Impacted Files Coverage Δ
workers.go 57.14% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@github-actions
Copy link
Contributor

changelog detected ✅

@jacobbednarz jacobbednarz merged commit 2f6c5a5 into cloudflare:master Dec 23, 2022
@jacobbednarz jacobbednarz deleted the handle-non-module-bodies branch December 23, 2022 03:30
@github-actions github-actions bot added this to the v0.57.1 milestone Dec 23, 2022
github-actions bot pushed a commit that referenced this pull request Dec 23, 2022
@github-actions
Copy link
Contributor

This functionality has been released in v0.57.1.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you!

ivan-section-io pushed a commit to section/cloudflare-go that referenced this pull request Jan 12, 2023
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.

None yet

2 participants