shihanng / terraform-provider-installer

A Terraform provider to setup development environment machine.
https://registry.terraform.io/providers/shihanng/installer/latest/docs
MIT License
11 stars 3 forks source link

Fix breaking change in how brew handling installing non existing package #48

Closed shihanng closed 1 year ago

shihanng commented 1 year ago
cannot run Terraform provider tests: unexpected Content-Type: "application/vnd+hashicorp.releases-api.v0+json"
FAIL    github.com/shihanng/terraform-provider-installer/internal/provider  0.911s
shihanng commented 1 year ago

Breaking change from brew: If a package is not found during brew install, brew will return 0 but there are error messages in stderr.

See: https://superuser.com/questions/981423/is-homebrews-install-warning-an-error