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:
committed by
Bjørn Erik Pedersen
parent
b6f44aaf1a
commit
d55af2abf0
@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user