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 and seeM committed May 12, 2024
1 parent 3e1ee1c commit fdfb9f4
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 fdfb9f4

Please sign in to comment.