warrensbox/terraform-switcher

-u -s arguments ignore .tfswitch.toml bin config

Closed this issue · 1 comments

Is your feature request related to a problem? Please describe.
When using either -u or -s arguments the value of "bin" in the .tfswitch.toml config is ignored.

Describe the solution you'd like
Unless presenting -b this should be placed in the location specified by .tfswtich.toml.

Describe alternatives you've considered
I used -b to get around my immediate issue.

Additional context
Add any other context or screenshots about the feature request here.

jukie commented

Thanks for finding this! The problem is how the binPath is being fed into the functions. My PR should fix it.