Skip to content

Commit a737f4f

Browse files
committed
fix lint
1 parent bbb871a commit a737f4f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

configure.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1833,7 +1833,7 @@ def configure_v8(o, configs):
18331833
release='0',
18341834
debug='1'
18351835
)
1836-
1836+
18371837
o['variables']['v8_enable_webassembly'] = 0 if options.v8_lite_mode else 1
18381838
o['variables']['v8_enable_javascript_promise_hooks'] = 1
18391839
o['variables']['v8_enable_lite_mode'] = 1 if options.v8_lite_mode else 0

lib/util.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ const {
2929
Error,
3030
ErrorCaptureStackTrace,
3131
FunctionPrototypeBind,
32+
MathFloor,
3233
NumberIsSafeInteger,
3334
ObjectDefineProperties,
3435
ObjectDefineProperty,
@@ -457,7 +458,7 @@ function getCallSites(frameCount = 10, options) {
457458
return mapCallSite(binding.getCallSites(frameCount));
458459
}
459460

460-
frameCount = Math.floor(frameCount);
461+
frameCount = MathFloor(frameCount);
461462
return binding.getCallSites(frameCount);
462463
};
463464

0 commit comments

Comments
 (0)