pulumi / upgrade-provider

A tool to automate provider upgrades on your local machine
7 stars 1 forks source link

Fail fast on --kind empty #239

Closed t0yv0 closed 10 months ago

t0yv0 commented 10 months ago

Before the change upgrade provider --kind="" would proceed with "No changes required" success message. I believe it is better to fail fast.

VenelinMartinov commented 10 months ago

I'm confused why it does not error here: https://github.com/pulumi/upgrade-provider/blob/d846fbbe9314cf08280f499bbc3fd98291e34e52/main.go#L143

Edit: oh, it's a slice and we range over it...