mirror of
https://github.com/asdf-vm/asdf.git
synced 2024-11-15 01:28:17 -07:00
Ignore shellcheck warning.
This commit is contained in:
parent
631ad8a005
commit
001cd6022f
@ -360,6 +360,7 @@ resolve_symlink() {
|
||||
symlink="$1"
|
||||
|
||||
# This seems to be the only cross-platform way to resolve symlink paths to
|
||||
# the real file path
|
||||
# the real file path.
|
||||
# shellcheck disable=SC2012
|
||||
ls -l "$symlink" | sed -e "s|.*-> \(.*\)|\1|"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user