mirror of
https://github.com/danog/gojekyll.git
synced 2024-11-26 23:24:39 +01:00
lint
This commit is contained in:
parent
3f1e4b5b11
commit
36a5c0d1db
2
main.go
2
main.go
@ -10,7 +10,7 @@ import (
|
||||
func main() {
|
||||
err := cmd.ParseAndRun(os.Args[1:])
|
||||
if err != nil {
|
||||
fmt.Fprintln(os.Stderr, err)
|
||||
fmt.Fprintln(os.Stderr, err) // nolint: gas
|
||||
os.Exit(1)
|
||||
}
|
||||
}
|
||||
|
@ -1,7 +1,6 @@
|
||||
package server
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"log"
|
||||
"time"
|
||||
|
||||
@ -21,7 +20,6 @@ func (s *Server) watchAndReload() error {
|
||||
urls[url] = true
|
||||
}
|
||||
}
|
||||
fmt.Println(filenames)
|
||||
s.reloadSite(len(filenames))
|
||||
for url := range urls {
|
||||
s.lr.Reload(url)
|
||||
|
Loading…
Reference in New Issue
Block a user