Skip to content

Commit 1f0cbca

Browse files
committed
review
1 parent 143a517 commit 1f0cbca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/website/expand_templates/linters.go

Lines changed: 1 addition & 1 deletion
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)