Skip to content

Commit 909da96

Browse files
Recover missing return in attemptConnectAllowedDevices
1 parent 4e6d0f5 commit 909da96

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/usb.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -518,6 +518,7 @@ class MicrobitWebUSBConnectionImpl
518518
if (connection) {
519519
this.device = device;
520520
this.connection = connection;
521+
return;
521522
}
522523
}
523524
}

0 commit comments

Comments
 (0)