Explorar el Código

Merge pull request #19 from rebar/drop-template-cwd-search

Drop search for templates in cwd
pull/7/merge
Tristan Sloughter hace 10 años
padre
commit
b8ada39c36
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  1. +1
    -2
      src/rebar_templater.erl

+ 1
- 2
src/rebar_templater.erl Ver fichero

@ -273,8 +273,7 @@ find_disk_templates(State) ->
Home = rebar_utils:home_dir(),
HomeFiles = rebar_utils:find_files(filename:join([Home, ?CONFIG_DIR, "templates"]),
?TEMPLATE_RE),
LocalFiles = rebar_utils:find_files(".", ?TEMPLATE_RE, true),
[{file, F} || F <- OtherTemplates ++ HomeFiles ++ LocalFiles].
[{file, F} || F <- OtherTemplates ++ HomeFiles].
%% Fetch template indexes that sit on disk in custom areas
find_other_templates(State) ->

Cargando…
Cancelar
Guardar