From d55af2abf0548e627998d3905cfdec5b7b8f7ec3 Mon Sep 17 00:00:00 2001 From: Andreas Deininger Date: Fri, 10 Mar 2023 20:18:41 +0100 Subject: Run gofmt -s on source files --- watcher/filenotify/poller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'watcher') diff --git a/watcher/filenotify/poller.go b/watcher/filenotify/poller.go index 7479dcbdd..91e1e21b8 100644 --- a/watcher/filenotify/poller.go +++ b/watcher/filenotify/poller.go @@ -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 } -- cgit v1.2.3