unnecessary operand

This commit is contained in:
Stephen Wodecki 2021-09-13 20:22:43 -05:00 committed by Márk Sági-Kazár
parent f646c50b18
commit 6c1745665b
1 changed files with 1 additions and 1 deletions

View File

@ -433,7 +433,7 @@ func (v *Viper) WatchConfig() {
v.onConfigChange(event)
}
} else if filepath.Clean(event.Name) == configFile &&
event.Op&fsnotify.Remove&fsnotify.Remove != 0 {
event.Op&fsnotify.Remove != 0 {
eventsWG.Done()
return
}