Skip to content

Commit

Permalink
workaround for erlenv. it uses releases subcommand instead of versions
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt committed Jul 10, 2016
1 parent 125d134 commit 5adbc59
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion libexec/anyenv-versions
Expand Up @@ -9,5 +9,9 @@ set -e

for env in $(anyenv-envs); do
echo "$env:"
echo "$($env versions)"
if [ "$env" = "erlenv" ]; then
echo "$($env releases)"
else
echo "$($env versions)"
fi
done

0 comments on commit 5adbc59

Please sign in to comment.