Skip to content

Commit 9fd8587

Browse files
fix erroneous return
1 parent 547c00d commit 9fd8587

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arduino-ide-extension/src/browser/boards/boards-service-provider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ export class BoardsServiceProvider
212212
lastBoardsConfigOnUpload.selectedBoard
213213
);
214214

215-
if (!boardIsSameHardware && !boardIsSameFqbn) return;
215+
if (!boardIsSameHardware && !boardIsSameFqbn) continue;
216216

217217
let boardToAutoSelect = boardOnAppearedPort;
218218
if (boardIsSameHardware && !boardIsSameFqbn) {

0 commit comments

Comments
 (0)