JustinGrote / ModuleFast

A "fast and loose" way to install modules from Powershell Gallery quickly. Meant for CICD, not production
Other
74 stars 5 forks source link

Cannot handle Major-only version specs #67

Closed JustinGrote closed 6 months ago

JustinGrote commented 6 months ago

Spec: Something<1

 106 |      . $EntryPoint -Verbose:$Verbose -Debug:$Debug @args
     |      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Cannot convert value "1" to type "System.Version". Error: "Version
     | string portion was too short or too long. (Parameter 'input')"

Workaround: Something<1.0

JustinGrote commented 6 months ago

I can't reproduce, seems to be fine again, may have been something specific to this bootstrap script.