Skip to content

Commit 0f82e91

Browse files
authored
[ATL-1570] Install core notification not to appear on board unplug (#485)
1 parent 7d5381b commit 0f82e91

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

arduino-ide-extension/src/browser/boards/boards-auto-installer.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,10 @@ export class BoardsAutoInstaller implements FrontendApplicationContribution {
4444
}
4545

4646
protected ensureCoreExists(config: BoardsConfig.Config): void {
47-
const { selectedBoard } = config;
47+
const { selectedBoard, selectedPort } = config;
4848
if (
4949
selectedBoard &&
50+
selectedPort &&
5051
!this.notifications.find((board) => Board.sameAs(board, selectedBoard))
5152
) {
5253
this.notifications.push(selectedBoard);

0 commit comments

Comments
 (0)