8000
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 af33dce commit ef2be1cCopy full SHA for ef2be1c
arduino-ide-extension/src/browser/contributions/board-selection.ts
@@ -278,8 +278,7 @@ PID: ${PID}`;
278
279
// First we show addresses with recognized boards connected,
280
// then all the rest.
281
- const sortedIDs = Object.keys(ports);
282
- sortedIDs.sort((left: string, right: string): number => {
+ const sortedIDs = Object.keys(ports).sort((left: string, right: string): number => {
283
const [, leftBoards] = ports[left];
284
const [, rightBoards] = ports[right];
285
return rightBoards.length - leftBoards.length;
0 commit comments