kreuzwerker / m1-terraform-provider-helper

CLI to support with downloading and compiling terraform providers for Mac with M1 chip
MIT License
495 stars 30 forks source link

fix: empty reponse on provider registry json #145

Closed mavogel closed 1 year ago

mavogel commented 1 year ago

What does this do / why do we need it?

Fixes #137

How this PR fixes the problem?

By adding the flag --custom-provider-repository-url which avoid querying the terraform registry

What should your reviewer look out for in this PR?

if the flag make sense or we'd use a fallback and prepend https://github.com/

Check lists

Which issue(s) does this PR fix?

137

coveralls commented 1 year ago

Pull Request Test Coverage Report for Build 5409359974


Changes Missing Coverage Covered Lines Changed/Added Lines %
internal/app/install.go 17 19 89.47%
internal/app/app.go 0 3 0.0%
<!-- Total: 17 22 77.27% -->
Totals Coverage Status
Change from base Build 5345102601: 0.6%
Covered Lines: 338
Relevant Lines: 520

💛 - Coveralls