mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-11-09 10:28:32 +00:00
editor.quicksSuggestions.other defaults off
This commit is contained in:
committed by
Francesco Stasi
parent
067cc8766a
commit
6dadd1775a
@@ -54,7 +54,7 @@ export class CoreClientProvider extends GrpcClientProvider<CoreClientProvider.Cl
|
||||
|
||||
const instance = initResp.getInstance();
|
||||
if (!instance) {
|
||||
throw new Error(`Could not retrieve instance from the initialize response.`);
|
||||
throw new Error('Could not retrieve instance from the initialize response.');
|
||||
}
|
||||
|
||||
// No `await`. The index update event comes later. This way we do not block app startup with index update when invalid proxy is given.
|
||||
|
||||
@@ -122,9 +122,9 @@ export class MonitorServiceImpl implements MonitorService {
|
||||
if (!this.connection && reason && reason.code === MonitorError.ErrorCodes.CLIENT_CANCEL) {
|
||||
return Status.OK;
|
||||
}
|
||||
this.logger.info(`>>> Disposing monitor connection...`);
|
||||
this.logger.info('>>> Disposing monitor connection...');
|
||||
if (!this.connection) {
|
||||
this.logger.warn(`<<< Not connected. Nothing to dispose.`);
|
||||
this.logger.warn('<<< Not connected. Nothing to dispose.');
|
||||
return Status.NOT_CONNECTED;
|
||||
}
|
||||
const { duplex, config } = this.connection;
|
||||
|
||||
@@ -53,7 +53,7 @@ export class NotificationServiceServerImpl implements NotificationServiceServer
|
||||
disposeClient(client: NotificationServiceClient): void {
|
||||
const index = this.clients.indexOf(client);
|
||||
if (index === -1) {
|
||||
console.warn(`Could not dispose notification service client. It was not registered.`);
|
||||
console.warn('Could not dispose notification service client. It was not registered.');
|
||||
return;
|
||||
}
|
||||
this.clients.splice(index, 1);
|
||||
|
||||
Reference in New Issue
Block a user