From 28843652476ca748b73908086e72a91c984554bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eric=20Meadows-J=C3=B6nsson?= Date: Tue, 1 Jan 2019 20:51:43 +0100 Subject: Improve error message --- src/rebar_packages.erl | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src') 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, -- cgit v1.1