Skip to content

Commit 3d5e718

Browse files
kimtaejin3aduh95
authored andcommitted
lib: fix typo in util.js comment
Fix typo: 'explictly' -> 'explicitly' in getCallSites function comment. PR-URL: #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>
1 parent 99a4e51 commit 3d5e718

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/util.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ function getCallSites(frameCount = 10, options) {
453453

454454
// Using kDefaultMaxCallStackSizeToCapture as reference
455455
validateNumber(frameCount, 'frameCount', 1, 200);
456-
// If options.sourceMaps is true or if sourceMaps are enabled but the option.sourceMaps is not set explictly to false
456+
// If options.sourceMaps is true or if sourceMaps are enabled but the option.sourceMaps is not set explicitly to false
457457
if (options.sourceMap === true || (getOptionValue('--enable-source-maps') && options.sourceMap !== false)) {
458458
return mapCallSite(binding.getCallSites(frameCount));
459459
}

0 commit comments

Comments
 (0)