Skip to content

Commit 3b0b79c

Browse files
committed
chore: log instead of error
1 parent 86e9609 commit 3b0b79c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/website/expand_templates/configuration.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ package main
33
import (
44
"bytes"
55
"fmt"
6+
"log"
67
"os"
78
"path/filepath"
89
"reflect"
@@ -248,7 +249,7 @@ func (e *ExampleSnippetsExtractor) getSettingSections(node, nextNode *yaml.Node)
248249
settings, ok := allNodes[lc.Name]
249250
if !ok {
250251
if hasSettings(lc.Name) {
251-
return nil, fmt.Errorf("can't find %s settings in .golangci.reference.yml", lc.Name)
252+
log.Printf("can't find %s settings in .golangci.reference.yml", lc.Name)
252253
}
253254

254255
continue

0 commit comments

Comments
 (0)