mirror of
https://github.com/nodejs/node.git
synced 2026-11-26 21:58:26 -05:00
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:
1 parent
bc0a55f086
commit
820e0a5cfa
1 file changed
+1
-1
+1
-1
@@ -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));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user