We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99d1a7b commit 922963eCopy full SHA for 922963e
arduino-ide-extension/src/browser/contributions/upload-sketch.ts
@@ -61,7 +61,11 @@ export class UploadSketch extends CoreServiceContribution {
61
registry.registerCommand(UploadSketch.Commands.UPLOAD_SKETCH, {
62
execute: async () => {
63
const key = this.selectedFqbnAddress();
64
- if (this.boardRequiresUserFields && !this.cachedUserFields.has(key)) {
+ if (
65
+ this.boardRequiresUserFields &&
66
+ key &&
67
+ !this.cachedUserFields.has(key)
68
+ ) {
69
// Deep clone the array of board fields to avoid editing the cached ones
70
this.userFieldsDialog.value = (
71
await this.boardsServiceProvider.selectedBoardUserFields()
0 commit comments