Skip to content

Commit

Permalink
Remove unnecessary check
Browse files Browse the repository at this point in the history
* Fix race
  • Loading branch information
satotake committed Jan 1, 2023
1 parent 41ecee8 commit d304287
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions watcher/filenotify/eventwatcher_darwin.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,6 @@ type fsEventsWatcher struct {
}

func (w *fsEventsWatcher) Events() <-chan fsnotify.Event {
if w.closed {
return nil
}
return w.events
}

Expand Down

0 comments on commit d304287

Please sign in to comment.