File tree Expand file tree Collapse file tree 2 files changed +4
-14
lines changed Expand file tree Collapse file tree 2 files changed +4
-14
lines changed Original file line number Diff line number Diff line change @@ -29,17 +29,7 @@ install:
2929
3030# # lint: runs a number of code quality checks against the source code
3131lint :
32- @echo " \033[35mhttps://github.com/kisielk/errcheck\033[0m"
33- errcheck ./til.go
34-
35- @echo "\033[35mhttps://golang.org/cmd/vet/k\033[0m"
36- go vet ./til.go
37-
38- @echo "\033[35m# https://staticcheck.io/docs/k\033[0m"
39- staticcheck ./til.go
40-
41- @echo "\033[35m# https://github.com/mdempsky/unconvert\033[0m"
42- unconvert ./...
32+ golangci-lint run
4333
4434# # test: runs the test suite
4535test : build
Original file line number Diff line number Diff line change @@ -357,10 +357,10 @@ func buildIndexPage(pages []*Page, tagMap *TagMap) {
357357
358358 // Write the page list into the middle of the page
359359 content += pagesToHTMLUnorderedList (pages )
360- content += fmt . Sprintf ( "\n " )
360+ content += "\n "
361361
362362 // Write the footer content into the bottom of the index
363- content += fmt . Sprintf ( "\n " )
363+ content += "\n "
364364 content += footer ()
365365
366366 // And write the file to disk
@@ -398,7 +398,7 @@ func buildTagPages(pages []*Page) *TagMap {
398398 content += pagesToHTMLUnorderedList (tagMap .PagesFor (tagName ))
399399
400400 // Write the footer content into the bottom of the page
401- content += fmt . Sprintf ( "\n " )
401+ content += "\n "
402402 content += footer ()
403403
404404 // And write the file to disk
You can’t perform that action at this time.
0 commit comments