Ver a proveniência

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

pull/1844/head
simonxu72 há 6 anos
ascendente
cometimento
b81871c618
1 ficheiros alterados com 1 adições e 2 eliminações
  1. +1
    -2
      src/rebar_git_resource.erl

+ 1
- 2
src/rebar_git_resource.erl Ver ficheiro

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