summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEric Meadows-Jönsson <eric.meadows.jonsson@gmail.com>2019-01-01 20:51:43 +0100
committerEric Meadows-Jönsson <eric.meadows.jonsson@gmail.com>2019-01-01 20:52:00 +0100
commit28843652476ca748b73908086e72a91c984554bd (patch)
tree2f6148c7a9fe11c3635ccd83eca9021c745b3c39 /src
parent6a5ad07bc49a366ecc81ea87feb2de77c825771a (diff)
Improve error message
Diffstat (limited to 'src')
-rw-r--r--src/rebar_packages.erl7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/rebar_packages.erl b/src/rebar_packages.erl
index f1bb53d..e92fbda 100644
--- a/src/rebar_packages.erl
+++ b/src/rebar_packages.erl
@@ -265,10 +265,9 @@ get_package_repo_config(RepoConfig) ->
RepoConfig.
unverified_repo_message() ->
- "Fetched deprecatated registry record version from repo ~ts, for security " ++
- "reasons this registry version is no longer supported. The repository " ++
- "you are using should update to fix the security reason. Set " ++
- "REBAR_NO_VERIFY_REPO_ORIGIN=1 to disable this check.".
+ "The registry repository ~ts uses a record format that has been deprecated for "
+ "security reasons. The repository should be updated in order to be safer. "
+ "You can disable this check by setting REBAR_NO_VERIFY_REPO_ORIGIN=1".
insert_releases(Name, Releases, Repo, Table) ->
[true = ets:insert(Table,