basho / cuttlefish

never lose your childlike sense of wonder baby cuttlefish, promise me?
Apache License 2.0
205 stars 124 forks source link

Handle case where advanced.config contains > 1 terms #173

Closed seancribbs closed 9 years ago

seancribbs commented 9 years ago

Erlang config files are designed to contain one term, a list, that contains two-tuples of {Application, Env}. An advanced.config can possibly contain multiple terms and still parse via file:consult/1, but cuttlefish does not handle this case. Instead of crashing with case_clause, we now inform the user that the file is erroneous.

Fix for #158, already reviewed by @macintux.

seancribbs commented 9 years ago

:+1: 7c55697 r=macintux

seancribbs commented 9 years ago

@borshop merge