Fix typo in `AndroidServerLauncherImpl` class when on device was found (#33973)
This commit is contained in:
parent
aca00a4ab0
commit
a4add6ebaf
|
@ -38,7 +38,7 @@ export class AndroidServerLauncherImpl {
|
|||
if (options.deviceSerialNumber) {
|
||||
devices = devices.filter(d => d.serial === options.deviceSerialNumber);
|
||||
if (devices.length === 0)
|
||||
throw new Error(`No device with serial number '${options.deviceSerialNumber}' not found`);
|
||||
throw new Error(`No device with serial number '${options.deviceSerialNumber}' was found`);
|
||||
}
|
||||
|
||||
if (devices.length > 1)
|
||||
|
|
Loading…
Reference in New Issue