We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d4929e commit dfadbbaCopy full SHA for dfadbba
src/platform.ts
@@ -78,7 +78,7 @@ export function getPlatformDetails(): IPlatformDetails {
78
*/
79
export class PowerShellExeFinder {
80
// This is required, since parseInt("7-preview") will return 7.
81
- private static IntRegex = /^\d+$/;
+ private static IntRegex = /^\d$/;
82
private static PwshMsixRegex = /^Microsoft.PowerShell_.*/;
83
private static PwshPreviewMsixRegex = /^Microsoft.PowerShellPreview_.*/;
84
private winPS: IPossiblePowerShellExe | undefined;
0 commit comments