From 8b6baeeedb2cd07123f5eafffa17a4f84f132143 Mon Sep 17 00:00:00 2001 From: Davey Shafik Date: Tue, 27 Feb 2018 13:51:27 -0800 Subject: [PATCH] Don't show third-party message when installing from private repos --- command_install.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command_install.go b/command_install.go index cde8b56..36f6ac3 100644 --- a/command_install.go +++ b/command_install.go @@ -69,7 +69,7 @@ func installPackage(repo string, forceBinary bool) error { status.Stop() - if strings.HasPrefix(repo, "https://github.com/akamai/cli-") != true { + if strings.HasPrefix(repo, "https://github.com/akamai/cli-") != true && strings.HasPrefix(repo, "git@github.com:akamai/cli-") != true { color.Cyan("Disclaimer: You are installing a third-party package, subject to its own terms and conditions. Akamai makes no warranty or representation with respect to the third-party package.") }