-
Notifications
You must be signed in to change notification settings - Fork 333
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use current work dir or temp dir to avoid ConfigDir error #60
Comments
In production environment, the process's user is |
Can we just make the ConfigDir configurable via an env? Current directory is not the most optimal solution either. You don't want to cd into a specific directory to be able to run gops. /cc @odeke-em |
I totally agree with what @rakyll said, we can either check if it is configured first, then fallback to $HOME. |
unable to get current user home directory: os/user lookup failed; $HOME is empty
I build my application on instance A and run it on instance B.
The app run as user
root
and the env variable$HOME
is/root
.But i got the follow error.
Maybe we should use temp dir
The text was updated successfully, but these errors were encountered: