Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/common/pickers/environments.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ export async function pickEnvironment(
},
{
label: options.recommended.displayName,
description: options.recommended.description,
description: options.recommended.description || options.recommended.displayPath,
result: options.recommended,
iconPath: getIconPath(options.recommended.iconPath),
},
Expand All @@ -163,7 +163,7 @@ export async function pickEnvironment(
...envs.map((e) => {
return {
label: e.displayName ?? e.name,
description: e.description,
description: e.description || e.displayPath,
result: e,
manager: manager,
iconPath: getIconPath(e.iconPath),
Expand All @@ -178,7 +178,7 @@ export async function pickEnvironment(
export async function pickEnvironmentFrom(environments: PythonEnvironment[]): Promise<PythonEnvironment | undefined> {
const items = environments.map((e) => ({
label: e.displayName ?? e.name,
description: e.description,
description: e.description || e.displayPath,
e: e,
iconPath: getIconPath(e.iconPath),
}));
Expand Down