Skip to content

Commit

Permalink
[reporting/autoDownload] default to true when not in distributable (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Spencer authored Mar 8, 2019
1 parent b62c03f commit 3c3183f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions x-pack/plugins/reporting/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,10 @@ export const reporting = (kibana) => {
concurrency: Joi.number().integer().default(appConfig.concurrency), //deprecated
browser: Joi.object({
type: Joi.any().valid(CHROMIUM).default(CHROMIUM),
autoDownload: Joi.boolean().when('$dev', {
autoDownload: Joi.boolean().when('$dist', {
is: true,
then: Joi.default(true),
otherwise: Joi.default(false),
then: Joi.default(false),
otherwise: Joi.default(true),
}),
chromium: Joi.object({
disableSandbox: Joi.boolean().default(await getDefaultChromiumSandboxDisabled()),
Expand Down

0 comments on commit 3c3183f

Please sign in to comment.