lib: fix typo in util.js comment

Fix typo: 'explictly' -> 'explicitly' in getCallSites function comment.

PR-URL: https://github.com/nodejs/node/pull/61365
Reviewed-By: Qingyu Deng <i@ayase-lab.com>
Reviewed-By: Aviv Keller <me@aviv.sh>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
This commit is contained in:
Taejin Kim authored and Antoine du Hamel committed 2026-01-27 22:52:30 +01:00
1 parent bc0a55f086
commit 820e0a5cfa
1 file changed
+1 -1
+1 -1
View File
@@ -452,7 +452,7 @@ function getCallSites(frameCount = 10, options) {
// Using kDefaultMaxCallStackSizeToCapture as reference
validateNumber(frameCount, 'frameCount', 1, 200);
// If options.sourceMaps is true or if sourceMaps are enabled but the option.sourceMaps is not set explictly to false
// If options.sourceMaps is true or if sourceMaps are enabled but the option.sourceMaps is not set explicitly to false
if (options.sourceMap === true || (getOptionValue('--enable-source-maps') && options.sourceMap !== false)) {
return mapCallSite(binding.getCallSites(frameCount));
}