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:
parent
3040e0e757
commit
4c03bfd7a6
|
|
@ -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', '') === '' &&
|
||||
|
|
|
|||
Loading…
Reference in New Issue