Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
soulgalore committed Sep 16, 2024
1 parent 589f1a6 commit 03ebf73
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lib/plugins/browsertime/analyzer.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,6 @@ async function preWarmServer(urls, options, scriptOrMultiple) {
} else if (firefoxDevice) {
set(preWarmOptions, 'firefox.android.deviceSerial', firefoxDevice);
}
if (options.android.gnirehtet === true) {
preWarmOptions.android.gnirehtet = true;
}
}

const safariIos = get(options, 'safari.ios');
Expand All @@ -67,6 +64,10 @@ async function preWarmServer(urls, options, scriptOrMultiple) {
}
}

if (options.gnirehtet) {
preWarmOptions.gnirehtet = options.gnirehtet;
}

const engine = new BrowsertimeEngine(preWarmOptions);

await engine.start();
Expand Down

0 comments on commit 03ebf73

Please sign in to comment.