summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authordavidmarkclements <huperekchuno@googlemail.com>2018-04-04 18:04:41 +0200
committerLuigi Pinca <luigipinca@gmail.com>2018-04-06 15:28:32 +0200
commitf8b3774d859dd6d210afc6a9b39dc4dd7cb025dd (patch)
treeee4205c7183c0b80f1514bcb634f057efcbc9070 /lib
parentcf5f9867ff3e700dfd72519e7bdeb701e254317f (diff)
downloadandroid-node-v8-f8b3774d859dd6d210afc6a9b39dc4dd7cb025dd.tar.gz
android-node-v8-f8b3774d859dd6d210afc6a9b39dc4dd7cb025dd.tar.bz2
android-node-v8-f8b3774d859dd6d210afc6a9b39dc4dd7cb025dd.zip
errors: fix typo in internal/errors.js
Corrects "eqaul" to "equal" in the description for the ERR_NAPI_INVALID_DATAVIEW_ARGS error message. PR-URL: https://github.com/nodejs/node/pull/19800 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/internal/errors.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/internal/errors.js b/lib/internal/errors.js
index 2fe081bda7..570e8d811e 100644
--- a/lib/internal/errors.js
+++ b/lib/internal/errors.js
@@ -858,7 +858,7 @@ E('ERR_MODULE_RESOLUTION_LEGACY',
E('ERR_MULTIPLE_CALLBACK', 'Callback called multiple times', Error);
E('ERR_NAPI_CONS_FUNCTION', 'Constructor must be a function', TypeError);
E('ERR_NAPI_INVALID_DATAVIEW_ARGS',
- 'byte_offset + byte_length should be less than or eqaul to the size in ' +
+ 'byte_offset + byte_length should be less than or equal to the size in ' +
'bytes of the array passed in',
RangeError);
E('ERR_NAPI_INVALID_TYPEDARRAY_ALIGNMENT',