1
0
mirror of https://github.com/gohugoio/hugo.git synced 2024-05-11 05:54:58 +00:00

Run gofmt -s on source files

This commit is contained in:
Andreas Deininger
2023-03-10 20:18:41 +01:00
committed by Bjørn Erik Pedersen
parent b6f44aaf1a
commit d55af2abf0
8 changed files with 7 additions and 9 deletions

View File

@ -268,7 +268,7 @@ func (item *itemToWatch) checkForChanges() ([]fsnotify.Event, error) {
dirOp := checkChange(item.left.FileInfo, item.right.FileInfo)
if dirOp != 0 {
evs := []fsnotify.Event{fsnotify.Event{Op: dirOp, Name: item.filename}}
evs := []fsnotify.Event{{Op: dirOp, Name: item.filename}}
return evs, nil
}