Skip to content

Commit 9603c4a

Browse files
davidmarkclementstargos
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 03ab312 commit 9603c4a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/internal/errors.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -700,7 +700,7 @@ E('ERR_MODULE_RESOLUTION_LEGACY',
700700
E('ERR_MULTIPLE_CALLBACK', 'Callback called multiple times', Error);
701701
E('ERR_NAPI_CONS_FUNCTION', 'Constructor must be a function', TypeError);
702702
E('ERR_NAPI_INVALID_DATAVIEW_ARGS',
703-
'byte_offset + byte_length should be less than or eqaul to the size in ' +
703+
'byte_offset + byte_length should be less than or equal to the size in ' +
704704
'bytes of the array passed in',
705705
RangeError);
706706
E('ERR_NAPI_INVALID_TYPEDARRAY_ALIGNMENT',

0 commit comments

Comments
 (0)