Switch from `user.Current()` to mitchellh/go-homedir
Sometimes when hub is cross-compiled, `user.Current()` won't work on certain systems. Use an alternative way of obtaining the user's home directory.
Showing
想要评论请 注册 或 登录
Sometimes when hub is cross-compiled, `user.Current()` won't work on certain systems. Use an alternative way of obtaining the user's home directory.