Skip to content

usage reporting: fix typo in Buffer.byteLength argument#5149

Merged
glasser merged 1 commit into
mainfrom
glasser/bytelength-typo
Apr 30, 2021
Merged

usage reporting: fix typo in Buffer.byteLength argument#5149
glasser merged 1 commit into
mainfrom
glasser/bytelength-typo

Conversation

@glasser

@glasser glasser commented Apr 30, 2021

Copy link
Copy Markdown
Member

Fortunately, it appears that going back at least to Node 8, there's no
difference between passing "utf8", "uft8" (the typo), or no encoding argument,
so there's no bug here. But it's good to remove the typo (and later versions of
@types/node consider this to be an error).

Fortunately, it appears that going back at least to Node 8, there's no
difference between passing "utf8", "uft8" (the typo), or no encoding argument,
so there's no bug here. But it's good to remove the typo (and later versions of
`@types/node` consider this to be an error).
@glasser glasser enabled auto-merge (squash) April 30, 2021 22:58
@glasser glasser merged commit bd44a4c into main Apr 30, 2021
@glasser glasser deleted the glasser/bytelength-typo branch April 30, 2021 22:59
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Apr 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant