Skip to content

Commit

Permalink
Fix as per test results.
Browse files Browse the repository at this point in the history
  • Loading branch information
paulo-ferraz-oliveira committed Nov 10, 2024
1 parent 130b8fd commit 4b411cd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 2 additions & 0 deletions src/elvis_project.erl
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,8 @@ dep_to_result({AppName, _}, Message, IgnoreDeps) ->
dep_to_result({AppName, _, GitInfo}, Message, {IgnoreDeps, Regex}) ->
dep_to_result({AppName, GitInfo}, Message, {IgnoreDeps, Regex});
dep_to_result({AppName, _, GitInfo}, Message, IgnoreDeps) ->
dep_to_result({AppName, GitInfo}, Message, IgnoreDeps);
dep_to_result({AppName, _Vsn, GitInfo, _Opts}, Message, IgnoreDeps) ->
dep_to_result({AppName, GitInfo}, Message, IgnoreDeps).

%% Old config
Expand Down
9 changes: 4 additions & 5 deletions test/examples/rebar3_2.config.success
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
{rebar, "1.0.0"},
{rebar, {pkg, rebar_fork}},
{rebar, "1.0.0", {pkg, rebar_fork}},
{rebar, {git, "git://github.com/rebar/rebar.git", {branch, "main"}}},
{rebar, {git, "https://github.com/rebar/rebar.git", {branch, "main"}}},
{rebar, {git, "https://github.com/rebar/rebar.git", {tag, "1.0.0"}}},
{rebar, {git, "https://github.com/rebar/rebar.git", {ref, "7f73b8d6"}}},
Expand All @@ -13,8 +12,8 @@
{rebar, {git_subdir, "https://github.com/rebar/rebar.git", {tag, "1.0.0"}, "sub/dir"}},
{rebar, {git_subdir, "https://github.com/rebar/rebar.git", {ref, "7f73b8d6"}, "dir"}},
%% Alternative formats, backwards compatible declarations
{rebar, {git, "git://github.com/rebar/rebar.git"}},
{rebar, "1.0.*", {git, "git://github.com/rebar/rebar.git"}},
{rebar, "1.0.*", {git, "git://github.com/rebar/rebar.git", "Rev"}},
{rebar, ".*", {git, "git://github.com/rebar/rebar.git", {branch, "main"}}, [raw]}
{rebar, {git, "https://github.com/rebar/rebar.git"}},
{rebar, "1.0.*", {git, "https://github.com/rebar/rebar.git"}},
{rebar, "1.0.*", {git, "https://github.com/rebar/rebar.git", "Rev"}},
{rebar, ".*", {git, "https://github.com/rebar/rebar.git", {branch, "main"}}, [raw]}
]}.

0 comments on commit 4b411cd

Please sign in to comment.