Skip to content

Commit

Permalink
Fix fullscreen view and analysis cache
Browse files Browse the repository at this point in the history
  • Loading branch information
ibolton336 committed Oct 15, 2024
1 parent fa8a963 commit ae910c3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions vscode/src/client/analyzerClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,13 @@ export class AnalyzerClient {
return;
}
});
const env = process.env;

delete env.JAVA_HOME;

this.analyzerServer = spawn(this.getAnalyzerPath(), this.getAnalyzerArgs(), {
cwd: this.extContext!.extensionPath,
env,
});
this.analyzerServer.stderr.on("data", (data) => {
this.outputChannel.appendLine(`${data.toString()}`);
Expand Down Expand Up @@ -307,7 +312,9 @@ export class AnalyzerClient {
// New method to populate webview with stored rulesets
public populateWebviewWithStoredRulesets(webview: vscode.Webview): void {
const storedRulesets = this.getStoredRulesets();
console.log("Stored rulesets: ", storedRulesets);
if (storedRulesets) {
console.log("senging message to webview");
webview.postMessage({
type: "loadStoredAnalysis",
data: storedRulesets,
Expand Down

0 comments on commit ae910c3

Please sign in to comment.