Skip to content

Commit

Permalink
fix misspell (go-gitea#1996)
Browse files Browse the repository at this point in the history
Signed-off-by: Bo-Yi Wu <[email protected]>
  • Loading branch information
appleboy authored and lunny committed Jun 18, 2017
1 parent 90f9bb1 commit b7812be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/mailer/mailer.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func (a *loginAuth) Next(fromServer []byte, more bool) ([]byte, error) {
case "Password:":
return []byte(a.password), nil
default:
return nil, fmt.Errorf("unknwon fromServer: %s", string(fromServer))
return nil, fmt.Errorf("unknown fromServer: %s", string(fromServer))
}
}
return nil, nil
Expand Down
2 changes: 1 addition & 1 deletion routers/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ func Install(ctx *context.Context) {
form.RepoRootPath = setting.RepoRootPath
form.LFSRootPath = setting.LFS.ContentPath

// Note(unknwon): it's hard for Windows users change a running user,
// Note(unknown): it's hard for Windows users change a running user,
// so just use current one if config says default.
if setting.IsWindows && setting.RunUser == "git" {
form.RunUser = user.CurrentUsername()
Expand Down

0 comments on commit b7812be

Please sign in to comment.