@@ -146,7 +146,7 @@ export async function pickEnvironment(
146146 } ,
147147 {
148148 label : options . recommended . displayName ,
149- description : options . recommended . description ,
149+ description : options . recommended . description || options . recommended . displayPath ,
150150 result : options . recommended ,
151151 iconPath : getIconPath ( options . recommended . iconPath ) ,
152152 } ,
@@ -163,7 +163,7 @@ export async function pickEnvironment(
163163 ...envs . map ( ( e ) => {
164164 return {
165165 label : e . displayName ?? e . name ,
166- description : e . description ,
166+ description : e . description || e . displayPath ,
167167 result : e ,
168168 manager : manager ,
169169 iconPath : getIconPath ( e . iconPath ) ,
@@ -178,7 +178,7 @@ export async function pickEnvironment(
178178export async function pickEnvironmentFrom ( environments : PythonEnvironment [ ] ) : Promise < PythonEnvironment | undefined > {
179179 const items = environments . map ( ( e ) => ( {
180180 label : e . displayName ?? e . name ,
181- description : e . description ,
181+ description : e . description || e . displayPath ,
182182 e : e ,
183183 iconPath : getIconPath ( e . iconPath ) ,
184184 } ) ) ;
0 commit comments