Skip to content

Commit

Permalink
build-bento should respect the --noextensions flag (#37635)
Browse files Browse the repository at this point in the history
  • Loading branch information
rileyajones committed Feb 10, 2022
1 parent 498f360 commit 5150ad6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build-system/tasks/build-bento.js
Expand Up @@ -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<string>}
Expand All @@ -57,7 +57,7 @@ function getBentoComponentsToBuild(preBuild = false) {
}
if (
!preBuild &&
!argv.nocomponents &&
!argv.noextensions &&
!argv.extensions &&
!argv.extensions_from &&
!argv.core_runtime_only
Expand Down

0 comments on commit 5150ad6

Please sign in to comment.