We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 25da974 commit 7a2c835Copy full SHA for 7a2c835
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