From 14650c5f2ef566af153c44d34e0689d1dd146b11 Mon Sep 17 00:00:00 2001 From: Peter Hedenskog Date: Mon, 24 Jun 2024 12:52:44 +0200 Subject: [PATCH] Copy BT settings to the API (#4200) --- bin/sitespeed.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bin/sitespeed.js b/bin/sitespeed.js index b87b5971f..ca49575d9 100755 --- a/bin/sitespeed.js +++ b/bin/sitespeed.js @@ -65,6 +65,10 @@ async function api(options) { delete apiOptions.extends; } + // We copy all browsertime settings to fix the problem when we use --config + // and then try to ovverride some configurations using command line + apiOptions.browsertime = options.browsertime; + if (action === 'add' || action === 'addAndGetResult') { const spinner = ora({ text: `Send test to ${hostname} testing ${options._[0]}`,