build: do not disable inspector when intl is disabled

PR-URL: https://github.com/nodejs/node/pull/37954
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
This commit is contained in:
Rich Trott authored and Danielle Adams committed 2023-04-05 09:58:24 -04:00
1 parent 48cd712c0d
commit ff07aa7fe3
1 file changed
+1 -2
+1 -2
View File
@@ -588,7 +588,7 @@ intl_optgroup.add_argument('--without-intl',
action='store_const',
dest='with_intl',
const='none',
help='Disable Intl, same as --with-intl=none (disables inspector)')
help='Disable Intl, same as --with-intl=none')
intl_optgroup.add_argument('--with-icu-path',
action='store',
@@ -1977,7 +1977,6 @@ def configure_intl(o):
def configure_inspector(o):
disable_inspector = (options.without_inspector or
options.with_intl in (None, 'none') or
options.without_ssl)
o['variables']['v8_enable_inspector'] = 0 if disable_inspector else 1