Skip to content

Commit 5b92f63

Browse files
committed
Fix lint
1 parent 58a6a08 commit 5b92f63

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

routers/web/user/setting/profile.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -387,9 +387,9 @@ func Appearance(ctx *context.Context) {
387387
var myEditorNames string
388388
for i, editor := range myDefaultEditors {
389389
if i > 0 {
390-
myEditorNames = myEditorNames + ","
390+
myEditorNames += ","
391391
}
392-
myEditorNames = myEditorNames + editor.Name
392+
myEditorNames += editor.Name
393393
}
394394

395395
ctx.Data["DevEditors"] = editors

0 commit comments

Comments
 (0)