]> source.dussan.org Git - gitea.git/commitdiff
fix misspell (#1996)
authorBo-Yi Wu <appleboy.tw@gmail.com>
Sun, 18 Jun 2017 00:30:04 +0000 (19:30 -0500)
committerLunny Xiao <xiaolunwen@gmail.com>
Sun, 18 Jun 2017 00:30:04 +0000 (08:30 +0800)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
modules/mailer/mailer.go
routers/install.go

index d154cb9c2d5829984a3998f3445d050f302d91db..1f173e6b9098afc892f7a6bd3396389f221e5bc5 100644 (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
index 57311e13a4fd1ba2782400210496c0258aea7886..3d051bd3769e25e56d228b2eb40cd25f54c3ce15 100644 (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()