We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07561fd commit 17390e5Copy full SHA for 17390e5
extension/src/language/goLanguageServer.ts
@@ -565,7 +565,7 @@ export async function buildLanguageClient(
565
}
566
const res = await next(command, args);
567
568
- const progressToken = <ProgressToken>res.Token;
+ const progressToken = res?.Token as ProgressToken;
569
// The progressToken from executeCommand indicates that
570
// gopls may trigger a related workDoneProgress
571
// notification, either before or after the command
0 commit comments