Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
brianignacio5 committed Sep 20, 2024
1 parent bdbf091 commit bc8aca2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/pythonManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -310,9 +310,7 @@ export async function getSystemPython(workspaceFolder: Uri) {
await utils.execChildProcess(pythonBinPath, args, workingDir)
).replace(/(\n|\r|\r\n)/gm, "");
const pyDir =
process.platform === "win32"
? ["python.exe"]
: ["bin", "python3"];
process.platform === "win32" ? ["python.exe"] : ["bin", "python3"];
const sysPythonBinPath = join(pythonVersion, ...pyDir);
return sysPythonBinPath;
}
Expand Down

0 comments on commit bc8aca2

Please sign in to comment.