Skip to content

Commit

Permalink
Don't show third-party message when installing from private repos
Browse files Browse the repository at this point in the history
  • Loading branch information
dshafik committed Feb 27, 2018
1 parent e8ba7ee commit 8b6baee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion command_install.go
Original file line number Diff line number Diff line change
Expand Up @@ -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, "[email protected]: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.")
}

Expand Down

0 comments on commit 8b6baee

Please sign in to comment.