Skip to content

Commit 00960bf

Browse files
authored
Fix lint in darwin-only build file (#4255)
1 parent 660c4e8 commit 00960bf

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

internal/fswatch/kqueue.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -668,8 +668,8 @@ func (b *kqueueBackend) compareDir(_ int, path string, touched map[*dirWatch]str
668668
if p == fullPath {
669669
return nil // already handled above
670670
}
671-
e := &dirEntry{path: p, isDir: pIsDir}
672-
entries[p] = e
671+
entry := &dirEntry{path: p, isDir: pIsDir}
672+
entries[p] = entry
673673
sub.dirWatch.events.create(p)
674674
b.watchPath(sub.dirWatch, p, entries)
675675
return nil

0 commit comments

Comments
 (0)