Skip to content

Commit bb8641b

Browse files
committed
test(connect): allow running even if no latest exist yet
1 parent fd70c05 commit bb8641b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/connect/e2e/run.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const getEmulatorOptions = (availableFirmwares: Firmwares) => {
2525
: 'T2T1';
2626
const latest = getLatestFirmware(model);
2727

28-
if (!latest) {
28+
if (firmwareArg?.endsWith('-latest') && !latest) {
2929
// should never happen
3030
throw new Error('could not translate n-latest into specific firmware version');
3131
}

0 commit comments

Comments
 (0)