Skip to content

Commit cc56669

Browse files
committed
fix lint
1 parent 820d964 commit cc56669

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

routers/web/repo/editor.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,9 +214,8 @@ func GetEditorConfig(ctx *context.Context, treePath string) *editorconfig.Defini
214214
def, err := ec.GetDefinitionForFilename(treePath)
215215
if err == nil {
216216
return def
217-
} else {
218-
return nil
219217
}
218+
return nil
220219
}
221220
return nil
222221
}

0 commit comments

Comments
 (0)