Skip to content

Commit fdfb9f4

Browse files
anthonykim1seeM
authored andcommitted
Fix duplicated venv prompt (microsoft/vscode-python#23201)
Resolves: microsoft/vscode-python#23193 microsoft/vscode-python#23184 Resolve duplicated (.venv) prompt for users terminal. Issue came from: microsoft/vscode-python#23080
1 parent 3e1ee1c commit fdfb9f4

File tree

1 file changed

+1
-1
lines changed
  • extensions/positron-python/src/client/terminals/envCollectionActivation

1 file changed

+1
-1
lines changed

extensions/positron-python/src/client/terminals/envCollectionActivation/service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ function getPromptForEnv(interpreter: PythonEnvironment | undefined, env: Enviro
468468
return undefined;
469469
}
470470
if (interpreter.type === PythonEnvType.Virtual && env.VIRTUAL_ENV_PROMPT) {
471-
return `(${env.VIRTUAL_ENV_PROMPT}) `;
471+
return `${env.VIRTUAL_ENV_PROMPT}`;
472472
}
473473
return `(${interpreter.envName}) `;
474474
}

0 commit comments

Comments
 (0)