瀏覽代碼

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

pull/1844/head
simonxu72 6 年之前
父節點
當前提交
b81871c618
共有 1 個檔案被更改,包括 1 行新增2 行删除
  1. +1
    -2
      src/rebar_git_resource.erl

+ 1
- 2
src/rebar_git_resource.erl 查看文件

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

Loading…
取消
儲存