This commit is contained in:
Alicia Sykes 2022-11-01 13:22:47 +00:00
parent 9fb1a3a84c
commit c8cf08e431

View File

@ -71,11 +71,7 @@ print_node_versions () {
versions=''
get_version () {
if hash $1 2> /dev/null || command -v $1 >/dev/null; then
<<<<<<< Updated upstream
versions="$versions\e[36m\e[1m $2: \033[0m$($1 --version)\n\033[0m"
=======
versions="$versions\e[36m\e[1m $2: \033[0m$($1 --version)\n"
>>>>>>> Stashed changes
else
versions="$versions\e[33m\e[1m $2: \033[0m\033[3m Not installed\n\033[0m"
fi