Skip to content

Commit 820e0a5

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 <[email protected]> Reviewed-By: Aviv Keller <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Daijiro Wachi <[email protected]>
1 parent bc0a55f commit 820e0a5

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
@@ -452,7 +452,7 @@ function getCallSites(frameCount = 10, options) {
452452

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

0 commit comments

Comments
 (0)