Remove double and

This commit is contained in:
Frediano Ziglio 2021-05-02 20:03:56 +01:00
parent cdb5e5976f
commit 24f5069098
1 changed files with 1 additions and 1 deletions

View File

@ -388,7 +388,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
}