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

Commit a9d88b1

Browse files
authored
fix board version issue (#521)
1 parent 53aa9c7 commit a9d88b1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/arduino/boardManager.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,9 @@ export class BoardManager {
206206
// addedPlatform.boards = util.union(addedPlatform.boards, plat.boards, (a, b) => {
207207
// return a.name === b.name;
208208
// });
209-
// addedPlatform.versions.push(plat.version);
209+
if (addedPlatform.name === plat.name) {
210+
addedPlatform.versions.push(plat.version);
211+
}
210212
} else {
211213
plat.versions = [plat.version];
212214
// Clear the version information since the plat will be used to contain all supported versions.

0 commit comments

Comments
 (0)