@@ -59,7 +59,7 @@ func (gh *GitHub) CreateRepository(project Project, description, homepage string
5959
6060func (gh * GitHub ) CreatePullRequestForIssue (base , head , issue string ) (string , error ) {
6161 client := gh .client ()
62- params := octokat.PullRequestForIssueParams {Base : base , Head : head , Issue : issue }
62+ params := octokat.PullRequestForIssueParams {Base : base , Head : head , Issue : issue }
6363 pullRequest , err := client .CreatePullRequestForIssue (gh .repo (), params )
6464 if err != nil {
6565 return "" , err
@@ -85,14 +85,14 @@ func (gh *GitHub) CiStatus(sha string) (*octokat.Status, error) {
8585func (gh * GitHub ) ForkRepository (name , owner string , noRemote bool ) (repo * octokat.Repository , err error ) {
8686 client := gh .client ()
8787 config := gh .Config
88- repo , err = client .Repository (octokat.Repo {Name : name , UserName : config .User })
88+ repo , err = client .Repository (octokat.Repo {Name : name , UserName : config .User })
8989 if repo != nil && err == nil {
9090 msg := fmt .Sprintf ("Error creating fork: %s exists on %s" , repo .FullName , GitHubHost )
9191 err = errors .New (msg )
9292 return
9393 }
9494
95- repo , err = client .Fork (octokat.Repo {Name : name , UserName : owner }, nil )
95+ repo , err = client .Fork (octokat.Repo {Name : name , UserName : owner }, nil )
9696
9797 return
9898}
@@ -109,7 +109,7 @@ func (gh *GitHub) ExpandRemoteUrl(owner, name string, isSSH bool) (url string) {
109109
110110func (gh * GitHub ) repo () octokat.Repo {
111111 project := gh .Project
112- return octokat.Repo {Name : project .Name , UserName : project .Owner }
112+ return octokat.Repo {Name : project .Name , UserName : project .Owner }
113113}
114114
115115func findOrCreateToken (user , password string ) (string , error ) {
0 commit comments