From 3377311049593b7854f3f966643ba28d211fc3e2 Mon Sep 17 00:00:00 2001 From: Spencer Date: Fri, 8 Mar 2019 11:38:32 -0800 Subject: [PATCH] [reporting/autoDownload] default to true when not in distributable (#32803) --- x-pack/plugins/reporting/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/x-pack/plugins/reporting/index.js b/x-pack/plugins/reporting/index.js index dc5e3da71200d..aa60638d40027 100644 --- a/x-pack/plugins/reporting/index.js +++ b/x-pack/plugins/reporting/index.js @@ -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()),