Skip to content

Commit

Permalink
VSC-429 Keep generated argvar files for intellisense
Browse files Browse the repository at this point in the history
Closes #63
  • Loading branch information
HampusAdolfsson committed Nov 7, 2023
1 parent 7226921 commit b761d76
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/extension/intellisense/intellisenseservice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import { logger } from "iar-vsc-common/logger";
import * as Vscode from "vscode";
import * as Path from "path";
import * as Fs from "fs/promises";
import { ExtensionState } from "../extensionstate";
import { ExtensionSettings } from "../settings/extensionsettings";
import { WorkspaceIntellisenseProvider } from "./workspaceintellisenseprovider";
Expand Down Expand Up @@ -168,11 +167,6 @@ export class IntellisenseInfoService {
generatedArgvarsFile ?? regularArgvarsFile,
workspaceFolder,
this.output);
loadPromise.finally(() => {
if (generatedArgvarsFile) {
Fs.unlink(generatedArgvarsFile).catch(() => {/**/});
}
});

return loadPromise.then(intellisenseInfo => {
this.workspaceIntellisenseInfo = intellisenseInfo;
Expand Down

0 comments on commit b761d76

Please sign in to comment.