1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-11-24 08:02:18 +02:00

fixed log output and new line issue

This commit is contained in:
Brad Rydzewski 2014-02-07 03:35:27 -07:00
parent bac4d2c3b2
commit 160a7a29ad
2 changed files with 4 additions and 1 deletions

View File

@ -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) {

View File

@ -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