Skip to content

Commit 3d7c894

Browse files
committed
make fmt
1 parent e482a93 commit 3d7c894

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

routers/web/admin/config.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ func ChangeConfig(ctx *context.Context) {
207207
return "false", nil
208208
}
209209

210-
marshalString := func(v string) (string, error) {
210+
marshalString := func(v string) (string, error) {
211211
if strings.TrimSpace(v) == "" {
212212
return "null", nil
213213
}
@@ -218,7 +218,6 @@ func ChangeConfig(ctx *context.Context) {
218218
return string(b), nil
219219
}
220220

221-
222221
marshalOpenWithApps := func(value string) (string, error) {
223222
lines := strings.Split(value, "\n")
224223
var openWithEditorApps setting.OpenWithEditorAppsType

0 commit comments

Comments
 (0)