Skip to content

Commit

Permalink
fix(launching): remove double executable suffix on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
qvalentin committed Jan 25, 2024
1 parent 3ad7a4d commit e663a75
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/util/executable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ import path from "path";
import fs from "fs/promises";

export async function getHelmLsExecutable() {
const suffix = process.platform === "win32" ? ".exe" : "";

return await isHelmLsOnPath(`helm_ls${suffix}`);
return await isHelmLsOnPath(`helm_ls`);
}

/**
Expand Down

0 comments on commit e663a75

Please sign in to comment.