diff --git a/pkg/build/log/log.go b/pkg/build/log/log.go index de3556b56..404e415fb 100644 --- a/pkg/build/log/log.go +++ b/pkg/build/log/log.go @@ -30,7 +30,7 @@ var output io.Writer = os.Stdout var prefix string // the log suffix -var suffix string = "/n" +var suffix string = "\n" // SetPriority sets the default log level. func SetPriority(level int) { diff --git a/pkg/handler/repos.go b/pkg/handler/repos.go index 61c205f3c..99195e104 100644 --- a/pkg/handler/repos.go +++ b/pkg/handler/repos.go @@ -93,6 +93,7 @@ func RepoCreateGithub(w http.ResponseWriter, r *http.Request, u *User) error { } repo.UserID = u.ID + repo.Private = githubRepo.Private // if the user chose to assign to a team account // we need to retrieve the team, verify the user @@ -123,6 +124,8 @@ func RepoCreateGithub(w http.ResponseWriter, r *http.Request, u *User) error { if err != nil { return fmt.Errorf("Unable to add Private Key to your GitHub repository") } + } else { + } // create a hook so that we get notified when code