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 c579667 commit 7c2a295Copy full SHA for 7c2a295
arduino-ide-extension/src/node/boards-service-impl.ts
@@ -159,7 +159,7 @@ export class BoardsServiceImpl implements BoardsService {
159
160
let items = resp.getSearchOutputList().map(item => {
161
let installedVersion: string | undefined;
162
- const matchingPlatform = installedPlatforms.find(ip => ip.getId().startsWith(`${item.getId()}`));
+ const matchingPlatform = installedPlatforms.find(ip => ip.getId() === item.getId());
163
if (!!matchingPlatform) {
164
installedVersion = matchingPlatform.getInstalled();
165
}
0 commit comments