diff options
author | bl-ue <54780737+bl-ue@users.noreply.github.com> | 2021-05-29 23:03:13 +0300 |
---|---|---|
committer | Antoine du Hamel <duhamelantoine1995@gmail.com> | 2021-06-01 13:04:16 +0300 |
commit | 11e77e44f9a837b021b2d402c4075a59289ca3b9 (patch) | |
tree | 0211bf4f39c10b72a9940f153305c04ca99728e3 /src/node_i18n.cc | |
parent | fc269b37cf62b227a71f33ff673ebb7be192d031 (diff) |
src: fix typos
PR-URL: https://github.com/nodejs/node/pull/38845
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Khaidi Chu <i@2333.moe>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
Reviewed-By: Zeyu Yang <himself65@outlook.com>
Diffstat (limited to 'src/node_i18n.cc')
-rw-r--r-- | src/node_i18n.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node_i18n.cc b/src/node_i18n.cc index 1b105cc9e56..8a08a95bf75 100644 --- a/src/node_i18n.cc +++ b/src/node_i18n.cc @@ -485,7 +485,7 @@ void ConverterObject::Decode(const FunctionCallbackInfo<Value>& args) { } ret = ToBufferEndian(env, &result); if (omit_initial_bom && !ret.IsEmpty()) { - // Peform `ret = ret.slice(2)`. + // Perform `ret = ret.slice(2)`. CHECK(ret.ToLocalChecked()->IsUint8Array()); Local<Uint8Array> orig_ret = ret.ToLocalChecked().As<Uint8Array>(); ret = Buffer::New(env, |