oscope-dev / scope

Scoping user machines
https://oscope-dev.github.io/scope/
BSD 3-Clause "New" or "Revised" License
6 stars 3 forks source link

Be more specific if target was not found or not executable #24

Open technicalpickles opened 9 months ago

technicalpickles commented 9 months ago
❯ scope doctor run
10:38:30  INFO More detailed logs at /tmp/scope/scope-root-20240123-vK6v.log
10:38:30 ERROR Critical Error. File /Users/josh.nichols/workspace/myapp/.scope/bin/rbenv-configured.sh was not executable or it did not exist.

The file does exist, but it's not executable. It should be possible to check if it exists, then if it's executable to give a better message for people working on these.