Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit a54acce

Browse files
author
Akos Kitta
committed
Removed the leftover core client refresh call.
Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
1 parent bc85ea6 commit a54acce

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

‎arduino-ide-extension/src/node/examples-service-impl.ts‎

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -90,23 +90,14 @@ export class ExamplesServiceImpl implements ExamplesService {
9090
return this.builtInExamplesService.builtIns();
9191
}
9292

93-
async installed({
94-
fqbn,
95-
forceRefresh,
96-
}: {
97-
fqbn?: string;
98-
forceRefresh?: boolean;
99-
}): Promise<{
93+
async installed({ fqbn }: { fqbn?: string }): Promise<{
10094
user: SketchContainer[];
10195
current: SketchContainer[];
10296
any: SketchContainer[];
10397
}> {
10498
const user: SketchContainer[] = [];
10599
const current: SketchContainer[] = [];
106100
const any: SketchContainer[] = [];
107-
if (forceRefresh) {
108-
await this.libraryService.refresh();
109-
}
110101
const packages: LibraryPackage[] = await this.libraryService.list({
111102
fqbn,
112103
});

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /