ソースを参照

Fix parsing of version #'s of dependencies

Version #'s with patch info like "1.1.1-x" would cause an error. Now
tokenize the version string with "." AND "-".
pull/813/head
Jess Balint 9年前
コミット
731916870d
1個のファイルの変更1行の追加1行の削除
  1. +1
    -1
      src/rebar_pkg_resource.erl

+ 1
- 1
src/rebar_pkg_resource.erl ファイルの表示

@ -176,7 +176,7 @@ check_ssl_version() ->
end.
parse_vsn(Vsn) ->
version_pad(string:tokens(Vsn, ".")).
version_pad(string:tokens(Vsn, ".-")).
version_pad([Major]) ->
{list_to_integer(Major), 0, 0};

読み込み中…
キャンセル
保存