From 5150ad6cb3736f0f41ea31d1aac862604190aa42 Mon Sep 17 00:00:00 2001 From: Riley Jones <78179109+rileyajones@users.noreply.github.com> Date: Thu, 10 Feb 2022 13:58:54 -0800 Subject: [PATCH] build-bento should respect the --noextensions flag (#37635) --- build-system/tasks/build-bento.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build-system/tasks/build-bento.js b/build-system/tasks/build-bento.js index df3bbf444209..f404162aa9c7 100644 --- a/build-system/tasks/build-bento.js +++ b/build-system/tasks/build-bento.js @@ -35,8 +35,8 @@ function maybeInitializeBentoComponents(componentsObject) { } /** - * Process the command line arguments --nocomponents, --components, and - * --components_from and return a list of the referenced components. + * Process the command line arguments --noextensions, --components, and + * --extensions_from and return a list of the referenced components. * * @param {boolean} preBuild Used for lazy building of components. * @return {!Array} @@ -57,7 +57,7 @@ function getBentoComponentsToBuild(preBuild = false) { } if ( !preBuild && - !argv.nocomponents && + !argv.noextensions && !argv.extensions && !argv.extensions_from && !argv.core_runtime_only