Skip to content

Commit 2762fea

Browse files
committed
Document "method lacks 'await'" warnings
1 parent ba9d416 commit 2762fea

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/PowerShellEditorServices/Server/PsesLanguageServer.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ public async Task StartAsync()
9494
.WithHandler<ExpandAliasHandler>()
9595
.WithHandler<PsesSemanticTokensHandler>()
9696
.OnInitialize(
97+
// TODO: Either fix or ignore "method lacks 'await'" warning.
9798
async (languageServer, request, cancellationToken) =>
9899
{
99100
var serviceProvider = languageServer.Services;

src/PowerShellEditorServices/Services/TextDocument/Handlers/CodeActionHandler.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ public PsesCodeActionHandler(ILoggerFactory factory, AnalysisService analysisSer
3939
CodeActionKinds = new CodeActionKind[] { CodeActionKind.QuickFix }
4040
};
4141

42+
// TODO: Either fix or ignore "method lacks 'await'" warning.
4243
public override async Task<CodeAction> Handle(CodeAction request, CancellationToken cancellationToken)
4344
{
4445
// TODO: How on earth do we handle a CodeAction? This is new...

0 commit comments

Comments
 (0)