Skip to content

Commit 7386232

Browse files
fix erroneous return
1 parent 83bb50a commit 7386232

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

+1-1
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)