Skip to content

Commit b7812be

Browse files
appleboylunny
authored andcommitted
fix misspell (#1996)
Signed-off-by: Bo-Yi Wu <[email protected]>
1 parent 90f9bb1 commit b7812be

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

modules/mailer/mailer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ func (a *loginAuth) Next(fromServer []byte, more bool) ([]byte, error) {
8383
case "Password:":
8484
return []byte(a.password), nil
8585
default:
86-
return nil, fmt.Errorf("unknwon fromServer: %s", string(fromServer))
86+
return nil, fmt.Errorf("unknown fromServer: %s", string(fromServer))
8787
}
8888
}
8989
return nil, nil

routers/install.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ func Install(ctx *context.Context) {
8181
form.RepoRootPath = setting.RepoRootPath
8282
form.LFSRootPath = setting.LFS.ContentPath
8383

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

0 commit comments

Comments
 (0)