Fix broken check for -c cable on Mac/Linux. (#4082)

We used to automatically choose throttle as network emulator on Mac
and Linux but that was broken when Android functionality was restructured.
This commit is contained in:
Peter Hedenskog 2024-02-09 14:01:28 +01:00 committed by GitHub
parent 3040e0e757
commit 4c03bfd7a6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -2234,7 +2234,7 @@ export async function parseCommandLine() {
set(argv, 'browsertime.connectivity.engine', 'throttle');
} else if (
(platform() === 'darwin' || platform() === 'linux') &&
!argv.browsertime.android &&
!argv.browsertime.android.enabled &&
!argv.browsertime.safari.ios &&
!argv.browsertime.docker &&
get(explicitOptions, 'browsertime.connectivity.engine', '') === '' &&