Skip to content

Commit

Permalink
Fix duplicated venv prompt (microsoft/vscode-python#23201)
Browse files Browse the repository at this point in the history
Resolves: microsoft/vscode-python#23193 microsoft/vscode-python#23184

Resolve duplicated (.venv) prompt for users terminal.
Issue came from: microsoft/vscode-python#23080
  • Loading branch information
anthonykim1 authored Apr 8, 2024
1 parent 9343f30 commit df9fce8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ function getPromptForEnv(interpreter: PythonEnvironment | undefined, env: Enviro
return undefined;
}
if (interpreter.type === PythonEnvType.Virtual && env.VIRTUAL_ENV_PROMPT) {
return `(${env.VIRTUAL_ENV_PROMPT}) `;
return `${env.VIRTUAL_ENV_PROMPT}`;
}
return `(${interpreter.envName}) `;
}
Expand Down

0 comments on commit df9fce8

Please sign in to comment.