Procházet zdrojové kódy

Use rebar_string:trim/1 for OTP 19 compatibility

pull/2447/head
Jesper Eskilson před 4 roky
rodič
revize
38aec3fb9d
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. +2
    -2
      src/rebar_git_resource.erl

+ 2
- 2
src/rebar_git_resource.erl Zobrazit soubor

@ -310,7 +310,7 @@ collect_default_refcount(Dir) ->
[{use_stdout, false},
{cd, Dir},
{debug_abort_on_error, AbortMsg2}]),
{ok, list_to_integer(string:trim(PatchLines))};
{ok, list_to_integer(rebar_string:trim(PatchLines))};
_ ->
get_patch_count(Dir, Tag)
end,
@ -339,7 +339,7 @@ get_patch_count(Dir, RawRef) ->
[{use_stdout, false},
{cd, Dir},
{debug_abort_on_error, AbortMsg}]),
{ok, list_to_integer(string:trim(PatchLines))}.
{ok, list_to_integer(rebar_string:trim(PatchLines))}.
parse_tags(Dir) ->

Načítá se…
Zrušit
Uložit