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
2 changes: 1 addition & 1 deletion src/platform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export function getPlatformDetails(): IPlatformDetails {
*/
export class PowerShellExeFinder {
// This is required, since parseInt("7-preview") will return 7.
private static IntRegex = /^\d+$/;
private static IntRegex = /^\d$/;
private static PwshMsixRegex = /^Microsoft.PowerShell_.*/;
private static PwshPreviewMsixRegex = /^Microsoft.PowerShellPreview_.*/;
private winPS: IPossiblePowerShellExe | undefined;
Expand Down
Loading