File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ export function getDefaultPowerShellPath(
90
90
return fs . lstatSync ( item ) . isDirectory ( ) && fs . existsSync ( exePath ) ;
91
91
} )
92
92
. map ( ( item ) => ( {
93
- versionName : `PowerShell Core ${ path . parse ( item ) . base } ${ arch } ` ,
93
+ versionName : `PowerShell ${ path . parse ( item ) . base } ${ arch } ` ,
94
94
exePath : path . join ( item , "pwsh.exe" ) ,
95
95
} ) ) ;
96
96
@@ -208,7 +208,7 @@ export function getAvailablePowerShellExes(
208
208
return fs . lstatSync ( item ) . isDirectory ( ) && fs . existsSync ( exePath ) ;
209
209
} )
210
210
. map ( ( item ) => ( {
211
- versionName : `PowerShell Core ${ path . parse ( item ) . base } ${ arch } ` ,
211
+ versionName : `PowerShell ${ path . parse ( item ) . base } ${ arch } ` ,
212
212
exePath : path . join ( item , "pwsh.exe" ) ,
213
213
} ) ) ;
214
214
@@ -229,7 +229,7 @@ export function getAvailablePowerShellExes(
229
229
exePaths . forEach ( ( exePath ) => {
230
230
if ( fs . existsSync ( exePath ) ) {
231
231
paths . push ( {
232
- versionName : "PowerShell Core " + ( / - p r e v i e w / . test ( exePath ) ? " Preview" : "" ) ,
232
+ versionName : "PowerShell " + ( / - p r e v i e w / . test ( exePath ) ? " Preview" : "" ) ,
233
233
exePath,
234
234
} ) ;
235
235
}
You can’t perform that action at this time.
0 commit comments