mirror of
https://github.com/asdf-vm/asdf.git
synced 2024-11-15 01:28:17 -07:00
Prevent warning about global ASDF_DIR being undefined.
This commit is contained in:
parent
0260c442cc
commit
8ccfda26b8
@ -5,6 +5,8 @@ GREP_OPTIONS="--color=never"
|
||||
# shellcheck disable=SC2034
|
||||
GREP_COLORS=
|
||||
|
||||
ASDF_DIR=${ASDF_DIR:-''}
|
||||
|
||||
asdf_version() {
|
||||
cat "$(asdf_dir)/VERSION"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user