Allow contribution to include .yml or .yaml config file

This commit is contained in:
Christophe Romain 2015-07-24 14:30:31 +02:00
parent 8fedc945bf
commit 32fc586c08
1 changed files with 1 additions and 1 deletions

View File

@ -206,7 +206,7 @@ get_plain_terms_file(File1, Opts) ->
BinTerms1 = strings_to_binary(Terms),
ModInc = case proplists:get_bool(include_modules_configs, Opts) of
true ->
filelib:wildcard(ext_mod:modules_dir() ++ "/*/conf/*.yaml");
filelib:wildcard(ext_mod:modules_dir() ++ "/*/conf/*.{yml,yaml}");
_ ->
[]
end,