Skip to content

Commit 69ec9d8

Browse files
daeyeonRafaelGSS
authored andcommitted
build: fix conflicting V8 object print flags
Signed-off-by: Daeyeon Jeong <daeyeon.dev@gmail.com> PR-URL: #54785 Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 2b9a637 commit 69ec9d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1668,7 +1668,7 @@ def configure_v8(o, configs):
16681668
o['variables']['v8_enable_short_builtin_calls'] = 1
16691669
if options.v8_enable_snapshot_compression:
16701670
o['variables']['v8_enable_snapshot_compression'] = 1
1671-
if options.v8_enable_object_print and options.v8_disable_object_print:
1671+
if all(opt in sys.argv for opt in ['--v8-enable-object-print', '--v8-disable-object-print']):
16721672
raise Exception(
16731673
'Only one of the --v8-enable-object-print or --v8-disable-object-print options '
16741674
'can be specified at a time.')

0 commit comments

Comments
 (0)