Browse Source

fix misspell (#1996)

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
tags/v1.2.0-rc1
Bo-Yi Wu Lunny Xiao 8 years ago
parent
commit
a1901fdb4a
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      modules/mailer/mailer.go
  2. +1
    -1
      routers/install.go

+ 1
- 1
modules/mailer/mailer.go View File

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


+ 1
- 1
routers/install.go View File

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


Loading…
Cancel
Save