Explorar el Código

combine []/Opt case options into one @ get_git_options/0

pull/1844/head
simonxu72 hace 6 años
padre
commit
b81871c618
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  1. +1
    -2
      src/rebar_git_resource.erl

+ 1
- 2
src/rebar_git_resource.erl Ver fichero

@ -292,8 +292,7 @@ parse_tags(Dir) ->
git_clone_options() ->
Option = case os:getenv("REBAR_GIT_CLONE_OPTIONS") of
false -> "" ; %% env var not set
[] -> "" ; %% env var set to empty
Opt ->
Opt -> %% env var set to empty or others
Opt
end,

Cargando…
Cancelar
Guardar