Skip to content

Commit c10f255

Browse files
Fix linter warnings
1 parent 7e578aa commit c10f255

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.gometalinter.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"Vendor": true,
33
"Test": true,
44
"EnableAll": true,
5-
"Disable": ["dupl"]
5+
"Disable": ["dupl", "maligned"]
66
}

examples_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ func RunServer() *httptest.Server {
4949
request *http.Request,
5050
) {
5151
if request.URL.Path == "/robots.txt" {
52+
// nolint: errcheck
5253
fmt.Fprint(writer, `
5354
User-agent: go-crawler
5455
Disallow: /2

0 commit comments

Comments
 (0)