Ver código fonte

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

pull/1844/head
simonxu72 6 anos atrás
pai
commit
b81871c618
1 arquivos alterados com 1 adições e 2 exclusões
  1. +1
    -2
      src/rebar_git_resource.erl

+ 1
- 2
src/rebar_git_resource.erl Ver arquivo

@ -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,

Carregando…
Cancelar
Salvar