Skip to content

Commit 9cc4931

Browse files
remove return if fqbn address is not available
1 parent b5f9aa0 commit 9cc4931

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

arduino-ide-extension/src/browser/contributions/upload-sketch.ts

-3
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,6 @@ export class UploadSketch extends CoreServiceContribution {
6161
registry.registerCommand(UploadSketch.Commands.UPLOAD_SKETCH, {
6262
execute: async () => {
6363
const key = this.selectedFqbnAddress();
64-
if (!key) {
65-
return;
66-
}
6764
if (this.boardRequiresUserFields && !this.cachedUserFields.has(key)) {
6865
// Deep clone the array of board fields to avoid editing the cached ones
6966
this.userFieldsDialog.value = (

0 commit comments

Comments
 (0)