diff options
author | simonxu72 <simon.xu72@gmail.com> | 2018-07-26 21:12:06 +0800 |
---|---|---|
committer | simonxu72 <simon.xu72@gmail.com> | 2018-07-26 21:12:06 +0800 |
commit | b81871c61809a9e5c09f54d6c8298908d18a760c (patch) | |
tree | b03fd2da2b264b0ee1eaea6c7a05ae52dfa6fd2f | |
parent | f08e5f62ffa7824ddc02afee2e5af4de43eb3887 (diff) |
combine []/Opt case options into one @ get_git_options/0
-rw-r--r-- | src/rebar_git_resource.erl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/rebar_git_resource.erl b/src/rebar_git_resource.erl index 2b5f453..0286762 100644 --- a/src/rebar_git_resource.erl +++ b/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, |