Skip to content

Commit

Permalink
do not check zls version in initial setup
Browse files Browse the repository at this point in the history
The popup when attempting to launch an invalid exe gives a better error message.
  • Loading branch information
Vexu committed Dec 4, 2023
1 parent c0c8ff9 commit f3f9969
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/zigSetup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -214,9 +214,6 @@ async function initialSetup(context: ExtensionContext): Promise<boolean> {
});
if (!uris) return true;

const version = getVersion(uris[0].path, "--version");
if (!version) return true;

await zlsConfig.update("path", uris[0].path, true);
} else if (zlsResponse === "Use ZLS in PATH") {
await zlsConfig.update("path", "", true);
Expand Down

0 comments on commit f3f9969

Please sign in to comment.