diff --git a/src/client/pythonEnvironments/creation/provider/condaCreationProvider.ts b/src/client/pythonEnvironments/creation/provider/condaCreationProvider.ts index 9dff50c5586d..d923179fac73 100644 --- a/src/client/pythonEnvironments/creation/provider/condaCreationProvider.ts +++ b/src/client/pythonEnvironments/creation/provider/condaCreationProvider.ts @@ -106,7 +106,7 @@ async function createCondaEnv( out.subscribe( (value) => { const output = splitLines(value.out).join('\r\n'); - traceLog(output); + traceLog(output.trimEnd()); if (output.includes(CONDA_ENV_CREATED_MARKER) || output.includes(CONDA_ENV_EXISTING_MARKER)) { condaEnvPath = getCondaEnvFromOutput(output); } diff --git a/src/client/pythonEnvironments/creation/provider/venvCreationProvider.ts b/src/client/pythonEnvironments/creation/provider/venvCreationProvider.ts index 61850e404c3d..7f854690f467 100644 --- a/src/client/pythonEnvironments/creation/provider/venvCreationProvider.ts +++ b/src/client/pythonEnvironments/creation/provider/venvCreationProvider.ts @@ -123,7 +123,7 @@ async function createVenv( out.subscribe( (value) => { const output = value.out.split(/\r?\n/g).join(os.EOL); - traceLog(output); + traceLog(output.trimEnd()); if (output.includes(VENV_CREATED_MARKER) || output.includes(VENV_EXISTING_MARKER)) { venvPath = getVenvFromOutput(output); }