When shared configs were being loaded, their paths were being shown including the bin/../etc string, which is unnecessary:
❯ scope doctor list
INFO Available checks that will run
INFO Name Description Path
INFO - ScopeDoctorGroup/homebrew Homebrew ../gusto_scope/bin/../etc/scope/shared/environment/homebrew.yaml
INFO - ScopeDoctorGroup/app Application setup .scope/app.yaml
Solution
Canonicalize the shared path before searching it for files. Now:
❯ scope doctor list
INFO Available checks that will run
INFO Name Description Path
INFO - ScopeDoctorGroup/homebrew Homebrew ../gusto_scope/etc/scope/shared/environment/homebrew.yaml
INFO - ScopeDoctorGroup/app Application setup .scope/app.yaml
Problem
When shared configs were being loaded, their paths were being shown including the
bin/../etc
string, which is unnecessary:Solution
Canonicalize the shared path before searching it for files. Now: