Skip to content

Commit

Permalink
Wrong pyenv path order in ternary
Browse files Browse the repository at this point in the history
  • Loading branch information
kimadeline committed Sep 18, 2020
1 parent 9bb444b commit 24a9522
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export async function isPyenvEnvironment(interpreterPath:string): Promise<boolea

if (!pyenvDir) {
const homeDir = getUserHomeDir() || '';
pyenvDir = isWindows ? path.join(homeDir, '.pyenv') : path.join(homeDir, '.pyenv', 'pyenv-win');
pyenvDir = isWindows ? path.join(homeDir, '.pyenv', 'pyenv-win') : path.join(homeDir, '.pyenv');
}

if (!await pathExists(pyenvDir)) {
Expand Down

0 comments on commit 24a9522

Please sign in to comment.