diff options
author | Fred Hebert <mononcqc@ferd.ca> | 2016-11-23 09:59:20 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-23 09:59:20 -0500 |
commit | ef61d013d1de6e4e4e6e0276caed71d18ea284d2 (patch) | |
tree | 964918abdfe7cf72c3ca9d8ea960d90b84be0fbd /src | |
parent | ae143b6714d1914e321ad0b0ca1f7c4c1892d6b4 (diff) | |
parent | 62e1aaf6f5a58ac60871248c193c20d5c1e7bbc5 (diff) |
Merge pull request #1385 from waisbrot/missing-package-error
Unify different styles of missing_package error
Diffstat (limited to 'src')
-rw-r--r-- | src/rebar_packages.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_packages.erl b/src/rebar_packages.erl index 8b4611b..4cce5a8 100644 --- a/src/rebar_packages.erl +++ b/src/rebar_packages.erl @@ -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]). |