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: typo in parse_media_type.ts example #3520

Merged
merged 1 commit into from
Aug 8, 2023

Conversation

nberlette
Copy link
Contributor

In the parseMediaType example from std/media_types/parse_media_type.ts, the example code asserts (erroneously) that an input of text/html; charset=utf-8 will return ["application/json", { charset: "utf-8" }].

This has been corrected to ["text/html", { charset: "utf-8" }].

Thanks!

@nberlette nberlette requested a review from kt3k as a code owner August 7, 2023 16:08
@CLAassistant
Copy link

CLAassistant commented Aug 7, 2023

CLA assistant check
All committers have signed the CLA.

Copy link
Contributor

@lino-levan lino-levan left a comment

Choose a reason for hiding this comment

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

Nice catch! LGTM. Please sign the CLA!

@nberlette
Copy link
Contributor Author

Nice catch! LGTM. Please sign the CLA!

Thanks. I signed it, but noticed it wasn't updating to reflect that, even after I clicked the recheck link in their comment.

I'll try signing it again

@nberlette
Copy link
Contributor Author

There we go, it's showing up as signed now 😅

Copy link
Member

@kt3k kt3k left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks!

@kt3k
Copy link
Member

kt3k commented Aug 8, 2023

Also thanks @lino-levan for reviewing!

@kt3k kt3k merged commit be270a3 into denoland:main Aug 8, 2023
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants