Skip to content

passing single-digit version fails #11

@jtmoon79

Description

@jtmoon79
PS> .\PythonEmbed4Win.ps1  -Verbose -Version 3
PythonEmbed4Win.ps1: at <ScriptBlock>, PythonEmbed4Win.ps1: line 1150
at <ScriptBlock>, <No file>: line 1
PythonEmbed4Win.ps1: Cannot convert value "3" to type "System.Version". Error: "Version string portion was too short or too long. (Parameter 'input')

Though it's a bit silly to pass -Version 3, it shouldn't crash like this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions