Skip to content

Commit

Permalink
build: fix conflicting V8 object print flags
Browse files Browse the repository at this point in the history
Signed-off-by: Daeyeon Jeong <daeyeon.dev@gmail.com>
PR-URL: #54785
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
daeyeon authored and jasnell committed Sep 13, 2024
1 parent fee02c7 commit aff2214
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -1671,7 +1671,7 @@ def configure_v8(o, configs):
o['variables']['v8_enable_short_builtin_calls'] = 1
if options.v8_enable_snapshot_compression:
o['variables']['v8_enable_snapshot_compression'] = 1
if options.v8_enable_object_print and options.v8_disable_object_print:
if all(opt in sys.argv for opt in ['--v8-enable-object-print', '--v8-disable-object-print']):
raise Exception(
'Only one of the --v8-enable-object-print or --v8-disable-object-print options '
'can be specified at a time.')
Expand Down

0 comments on commit aff2214

Please sign in to comment.