Skip to content
This repository was archived by the owner on Oct 1, 2024. It is now read-only.

Commit 70d323d

Browse files
elektronikworkshopadiazulay
authored andcommitted
Fixed bug in board.ts: Conceptual flaw when checking if configuration option is valid
1 parent 314d4a8 commit 70d323d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/arduino/board.ts

-2
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,6 @@ export class Board implements IBoard {
148148
return BoardConfigResult.Success;
149149
}
150150
return BoardConfigResult.SuccessNoChange;
151-
} else {
152-
return BoardConfigResult.InvalidOptionID;
153151
}
154152
}
155153
return BoardConfigResult.InvalidOptionID;

0 commit comments

Comments
 (0)