From 0855c4f2e3738d1bec443e98659a4e20d8ed9e03 Mon Sep 17 00:00:00 2001 From: Lloyd Dewolf Date: Fri, 24 Oct 2014 12:15:50 -0700 Subject: [PATCH] [trivial] typo 'isPriavte' should be 'isPrivate'. --- commands/remote.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/commands/remote.go b/commands/remote.go index 2acd1f23..a5958497 100644 --- a/commands/remote.go +++ b/commands/remote.go @@ -66,7 +66,7 @@ func transformRemoteArgs(args *Args) { } words := args.Words() - isPriavte := parseRemotePrivateFlag(args) + isPrivate := parseRemotePrivateFlag(args) if len(words) == 2 && words[1] == "origin" { // Origin special case triggers default user/repo host, err := github.CurrentConfig().DefaultHost() @@ -87,8 +87,8 @@ func transformRemoteArgs(args *Args) { project := github.NewProject(owner, name, host) // for GitHub Enterprise - isPriavte = isPriavte || project.Host != github.GitHubHost - url := project.GitURL(name, owner, isPriavte) + isPrivate = isPrivate || project.Host != github.GitHubHost + url := project.GitURL(name, owner, isPrivate) args.AppendParams(url) }