mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-11-10 10:58:33 +00:00
feat: implement menu action to reload current board data (#2553)
This commit is contained in:
@@ -73,7 +73,11 @@ export class BoardsServiceImpl
|
||||
|
||||
async getBoardDetails(options: {
|
||||
fqbn: string;
|
||||
forceRefresh?: boolean;
|
||||
}): Promise<BoardDetails | undefined> {
|
||||
if (options.forceRefresh) {
|
||||
await this.refresh();
|
||||
}
|
||||
const coreClient = await this.coreClient;
|
||||
const { client, instance } = coreClient;
|
||||
const { fqbn } = options;
|
||||
|
||||
Reference in New Issue
Block a user