Skip to content

Commit

Permalink
Merge pull request #72 from tsloughter/master
Browse files Browse the repository at this point in the history
ignore empty list of overlay vars to fix unneeded warning
  • Loading branch information
jwilberding committed Oct 15, 2013
2 parents 73502b0 + 4702fd6 commit a54bb2b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/rlx_prv_overlay.erl
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ get_overlay_vars_from_file(State, OverlayVars) ->
case rlx_state:get(State, overlay_vars, undefined) of
undefined ->
do_overlay(State, OverlayVars);
[] ->
do_overlay(State, OverlayVars);
[H | _]=FileNames when is_list(H) ->
read_overlay_vars(State, OverlayVars, FileNames);
FileName when is_list(FileName) ->
Expand Down

0 comments on commit a54bb2b

Please sign in to comment.