Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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‎

Lines changed: 2 additions & 1 deletion
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)

AltStyle によって変換されたページ (->オリジナル) /