Skip to content

Commit 4370aa6

Browse files
committed
review
1 parent 59c28c6 commit 4370aa6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: scripts/website/expand_templates/linters.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ func extractExampleSnippets(example []byte) (*SettingSnippets, error) {
238238
func getLintersSettingSections(node, nextNode *yaml.Node) (string, error) {
239239
linters, err := readJSONFile[[]*types.LinterWrapper](filepath.Join("assets", "linters-info.json"))
240240
if err != nil {
241-
panic(err)
241+
return "", err
242242
}
243243

244244
var lintersDesc = make(map[string]string)

0 commit comments

Comments
 (0)