Closed adifayer closed 2 years ago
This issue happens for users that don't have /usr/local/bin
on their local environment when installing datree.
A good way of fixing it would be to modify the install.sh
script to create /usr/local/bin
directory if it doesn't exist before copying datree
executable to that location
@dimabru Does this problem occur on linux/windows as well? or only mac?
@royhadad Good question. I'm not sure. Stands to reason that if the user decides to manually delete the folder /usr/local/bin
in a linux machine the script will behave the same way.
Regardless, I think the solution should be problem focused rather than environment focused. Meaning we should not assume a folder exists before writing to it, disregarding the operating system
Describe the bug Curl install fails in MacOS
To Reproduce Steps to reproduce the behavior:
Expected behavior Datree files and folders are created
Screenshots