Skip to content

Commit

Permalink
fix linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
muhammadsammy committed Oct 24, 2023
1 parent a1c8709 commit 437d40f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
15 changes: 2 additions & 13 deletions src/lsptoolshost/roslynLanguageServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,13 +153,7 @@ export class RoslynLanguageServer {
if (!dotnetInfo) {
dotnetInfo = await getDotnetInfo([]);
}
reportProjectConfigurationEvent(
params,
this._platformInfo,
dotnetInfo,
this._solutionFile?.fsPath,
true
);
reportProjectConfigurationEvent(params, this._platformInfo, dotnetInfo, this._solutionFile?.fsPath, true);
});
}

Expand All @@ -175,12 +169,7 @@ export class RoslynLanguageServer {
languageServerEvents: RoslynLanguageServerEvents
): Promise<RoslynLanguageServer> {
const serverOptions: ServerOptions = async () => {
return await this.startServer(
platformInfo,
hostExecutableResolver,
context,
additionalExtensionPaths
);
return await this.startServer(platformInfo, hostExecutableResolver, context, additionalExtensionPaths);
};

const documentSelector = languageServerOptions.documentSelector;
Expand Down
1 change: 0 additions & 1 deletion src/observers/telemetryObserver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ export class TelemetryObserver {
private handleProjectConfigurationReceived(event: ProjectConfiguration) {
const projectConfig = event.projectConfiguration;
reportProjectConfigurationEvent(
this.reporter,
projectConfig,
this.platformInfo,
this.dotnetInfo,
Expand Down

0 comments on commit 437d40f

Please sign in to comment.