I've noticed that $HOME is hardcoded at build time when trying to determine the location of the smartcat config file. This is a problem if the user who built the binary is different from the one who's using it.
This is a small fix that basically replaces env! with std::env::var.
I've noticed that
$HOME
is hardcoded at build time when trying to determine the location of thesmartcat
config file. This is a problem if the user who built the binary is different from the one who's using it.This is a small fix that basically replaces
env!
withstd::env::var
.