Browse Source

Merge pull request #1385 from waisbrot/missing-package-error

Unify different styles of missing_package error
pull/1390/head
Fred Hebert 8 years ago
committed by GitHub
parent
commit
ef61d013d1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/rebar_packages.erl

+ 1
- 1
src/rebar_packages.erl View File

@ -216,7 +216,7 @@ handle_single_vsn(Pkg, PkgVsn, Dep, Vsn, Constraint) ->
{ok, Vsn}
end.
format_error({missing_package, {Name, Vsn}}) ->
format_error({missing_package, Name, Vsn}) ->
io_lib:format("Package not found in registry: ~s-~s.", [ec_cnv:to_binary(Name), ec_cnv:to_binary(Vsn)]);
format_error({missing_package, Dep}) ->
io_lib:format("Package not found in registry: ~p.", [Dep]).

Loading…
Cancel
Save