Skip to content

Commit 4f20608

Browse files
committed
Review feedback
1 parent b8a3c26 commit 4f20608

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/lsptoolshost/restore.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import {
1010
RestoreParams,
1111
RestorePartialResult,
1212
RestoreRequest,
13-
UnresolvedProjectDependenciesNotification,
13+
ProjectHasUnresolvedDependenciesNotification,
1414
} from './roslynProtocol';
1515
import path = require('path');
1616

@@ -32,7 +32,7 @@ export function registerRestoreCommands(
3232
})
3333
);
3434

35-
languageServer.registerOnRequest(UnresolvedProjectDependenciesNotification.type, async (params) => {
35+
languageServer.registerOnRequest(ProjectHasUnresolvedDependenciesNotification.type, async (params) => {
3636
await restore(languageServer, restoreChannel, params.projectFilePaths, false);
3737
});
3838
}

src/lsptoolshost/roslynProtocol.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,8 +268,8 @@ export namespace RestorableProjects {
268268
export const type = new lsp.RequestType0<string[], void>(method);
269269
}
270270

271-
export namespace UnresolvedProjectDependenciesNotification {
272-
export const method = 'workspace/_roslyn_unresolvedProjectDependencies';
271+
export namespace ProjectHasUnresolvedDependenciesNotification {
272+
export const method = 'workspace/_roslyn_projectHasUnresolvedDependencies';
273273
export const messageDirection: lsp.MessageDirection = lsp.MessageDirection.serverToClient;
274274
export const type = new lsp.RequestType<UnresolvedProjectDependenciesParams, void, void>(method);
275275
}

0 commit comments

Comments
 (0)