common-fate / granted

The easiest way to access your cloud.
https://granted.dev
MIT License
1k stars 93 forks source link

improve brew alias check #450

Closed chrnorm closed 1 year ago

chrnorm commented 1 year ago

only use the brew prefix if brew is installed

What changed?

added an extra check to see if brew is installed before installing the alias as alias assume="source (brew --prefix)/assume.fish"

Why?

Smoke test fails in main branch after https://github.com/common-fate/granted/pull/437 was merged

How did you test it?

Will verify if smoke test passes in CI

Potential risks

Is patch release candidate?

Yes, to be included in next release

Link to relevant docs PRs