fix(elixir): guard against missing elixir installation

This commit is contained in:
Thales Macedo Garitezi 2022-01-18 08:52:25 -03:00
parent a974221ffa
commit bba595a91f
No known key found for this signature in database
GPG Key ID: DD279F8152A9B6DD
1 changed files with 4 additions and 1 deletions

View File

@ -2,4 +2,7 @@
set -euo pipefail
elixir -e "System.version() |> IO.puts()"
if command -v elixir &>/dev/null
then
elixir -e "System.version() |> IO.puts()"
fi