Skip to content

Commit 2e077cf

Browse files
committed
Create .tool-versions file if it doesn't exist
1 parent e3a8cd7 commit 2e077cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

elixir-stack.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ echo
101101

102102
# Create .tool-versions file if not present
103103

104-
if [ -z ./.tool-versions ]; then
104+
if [ ! -f ./.tool-versions ]; then
105105
cat > .tool-versions <<EOF
106106
erlang 18.0
107107
elixir 1.0.5

0 commit comments

Comments
 (0)