Skip to content

Commit f31c880

Browse files
aduh95jasnell
authored andcommitted
build: stop distributing Corepack
PR-URL: #57617 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]>
1 parent fb26fa1 commit f31c880

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

configure.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -813,11 +813,11 @@
813813
default=None,
814814
help='do not install the bundled npm (package manager)')
815815

816-
parser.add_argument('--without-corepack',
816+
parser.add_argument('--with-corepack',
817817
action='store_true',
818-
dest='without_corepack',
818+
dest='with_corepack',
819819
default=None,
820-
help='do not install the bundled Corepack')
820+
help='do install the bundled Corepack (experimental, will be removed without notice)')
821821

822822
parser.add_argument('--control-flow-guard',
823823
action='store_true',
@@ -1448,7 +1448,7 @@ def configure_node(o):
14481448
o['variables']['OS'] = 'android'
14491449
o['variables']['node_prefix'] = options.prefix
14501450
o['variables']['node_install_npm'] = b(not options.without_npm)
1451-
o['variables']['node_install_corepack'] = b(not options.without_corepack)
1451+
o['variables']['node_install_corepack'] = b(options.with_corepack)
14521452
o['variables']['control_flow_guard'] = b(options.enable_cfg)
14531453
o['variables']['node_use_amaro'] = b(not options.without_amaro)
14541454
o['variables']['debug_node'] = b(options.debug_node)

0 commit comments

Comments
 (0)