Skip to content

Commit

Permalink
Keep Env.cliArg.serverless flag for BWC
Browse files Browse the repository at this point in the history
  • Loading branch information
afharo committed Apr 26, 2023
1 parent ed7b220 commit aeb3089
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export async function bootstrap({ configs, cliArgs, applyConfigOverrides }: Boot

env = Env.createDefault(REPO_ROOT, {
configs: extendedConfigs,
cliArgs,
cliArgs: { ...cliArgs, serverless: true },
repoPackages: getPackages(REPO_ROOT),
});

Expand Down
1 change: 1 addition & 0 deletions packages/kbn-config/src/env.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export interface CliArgs {
disableOptimizer: boolean;
cache: boolean;
dist: boolean;
serverless?: boolean;
}

/** @internal */
Expand Down

0 comments on commit aeb3089

Please sign in to comment.