pulumi / upgrade-provider

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

Upgrade-provider fails when no examples are present under the examples/ folder #272

Open VenelinMartinov opened 3 months ago

VenelinMartinov commented 3 months ago

What happened?

upgrade-provider fails when invoked for providers without any tests under examples/ with a cryptic message

Example

--- Tfgen & Build SDKs --- 
  - go: /opt/homebrew/bin/go mod tidy
 -> go: /opt/homebrew/bin/go mod tidy
--- failed ---
error: exit status 1:
go: go.mod file not found in current directory or any parent directory; see 'go help modules'

Output of pulumi about

.

Additional context

No response

Contributing

Vote on this issue by adding a 👍 reaction. To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).