in vscode/qodana/src/core/extension.ts [156:167]
async localRun() {
let cli = await getCli(this.context as vscode.ExtensionContext);
if (cli && this.context) {
let token = await obtainToken(this.context as vscode.ExtensionContext);
if (token === undefined) {
return;
}
let tempDir = await runQodana(cli, token);
await this.closeReport();
await showLocalReport(this.context, tempDir);
}
}