Skip to content

Commit f8b3774

Browse files
davidmarkclementslpinca
authored andcommitted
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: #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>
1 parent cf5f986 commit f8b3774

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/errors.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -858,7 +858,7 @@ E('ERR_MODULE_RESOLUTION_LEGACY',
858858
E('ERR_MULTIPLE_CALLBACK', 'Callback called multiple times', Error);
859859
E('ERR_NAPI_CONS_FUNCTION', 'Constructor must be a function', TypeError);
860860
E('ERR_NAPI_INVALID_DATAVIEW_ARGS',
861-
'byte_offset + byte_length should be less than or eqaul to the size in ' +
861+
'byte_offset + byte_length should be less than or equal to the size in ' +
862862
'bytes of the array passed in',
863863
RangeError);
864864
E('ERR_NAPI_INVALID_TYPEDARRAY_ALIGNMENT',

0 commit comments

Comments
 (0)