Skip to content

Commit 79503ef

Browse files
author
Akos Kitta
committed
removed debug log.
Signed-off-by: Akos Kitta <[email protected]>
1 parent e27b9f1 commit 79503ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arduino-ide-extension/src/node/core-client-provider.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,17 +86,17 @@ export class CoreClientProvider extends GrpcClientProvider<CoreClientProvider.Cl
8686
// 3. init instance.
8787
if (this._client && !(this._client instanceof Error)) {
8888
try {
89-
await this.initInstance(this._client);
89+
await this.initInstance(this._client); // init instance
9090
this._initialized.resolve();
9191
this.updateIndex(this._client); // Update the indexes asynchronously
9292
} catch (error: unknown) {
9393
if (
9494
this.isPackageIndexMissingError(error) ||
9595
this.isDiscoveryNotFoundError(error)
9696
) {
97+
// If it's a first start, IDE2 must run index update before the init request.
9798
await this.updateIndexes(this._client);
9899
await this.initInstance(this._client);
99-
console.log('fooo');
100100
this._initialized.resolve();
101101
} else {
102102
throw error;

0 commit comments

Comments
 (0)