Skip to content
This repository has been archived by the owner on Mar 31, 2024. It is now read-only.

Commit

Permalink
[reporting/autoDownload] default to true when not in distributable (e…
Browse files Browse the repository at this point in the history
  • Loading branch information
Spencer committed Mar 8, 2019
1 parent f2016f0 commit 3377311
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 @@ -94,10 +94,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 3377311

Please sign in to comment.