Skip to content

Commit b80d0dc

Browse files
author
Andrew Hall
committed
Prettier
1 parent 5f4350d commit b80d0dc

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/lsptoolshost/roslynLanguageServer.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -792,10 +792,12 @@ export class RoslynLanguageServer {
792792
);
793793
vscode.commands.registerCommand(
794794
DynamicFileInfoHandler.dynamicFileUpdatedCommand,
795-
async (notification: RazorDynamicFileChangedParams) =>
796-
{
795+
async (notification: RazorDynamicFileChangedParams) => {
797796
if (this.isRunning()) {
798-
this.sendNotification<RazorDynamicFileChangedParams>('razor/dynamicFileInfoChanged', notification)
797+
await this.sendNotification<RazorDynamicFileChangedParams>(
798+
'razor/dynamicFileInfoChanged',
799+
notification
800+
);
799801
} else {
800802
_channel.warn('Tried to send razor/dynamicFileInfoChanged while server is not running');
801803
}

0 commit comments

Comments
 (0)