Closed karagenc closed 5 years ago
Travis check failed because os.UserHomeDir doesn't work with go version 1.10.8. But in my go version (which is 1.12.5) it works.
That function was introduced in Go 1.12 and I'm currently reluctant to make Go 1.12 a requirement for this library. I'll see if I can find a middle ground.
Wohooo! I achieved it with user.Current, and tests are passed successfully Thank you for your time
This way, SetHomeHistoryPath function works for all operating systems.