Commits
Click on a commit to change the comparison rangeRefactor: create path_or_defaults_if_exist based on the walrus repo Throw error when $HOME is not defined Check if XDG_CONFIG_HOME exists before checking for $HOME
It's fine for `$HOME` to not exist as long as
the `sites-config.yaml` is defined to the other
defaults such as XDG_CONFIG_HOME, the current path,
or if it's passed as a cli arg.
Previous commit would throw an error if $HOME
does not exist before checking for $XDG_CONFIG_HOME. refactor: check default directories (#282)
minor refactor.
- uses the already existing default selection function
- simplifies the selection of paths.
Signed-off-by: giac-mysten <giacomo@mystenlabs.com>3 months ago
by giac-mysten