Skip to content

Commit

Permalink
unnecessary operand
Browse files Browse the repository at this point in the history
  • Loading branch information
steviebps authored and sagikazarmark committed Dec 15, 2021
1 parent f646c50 commit 6c17456
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion viper.go
Expand Up @@ -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
}
Expand Down

0 comments on commit 6c17456

Please sign in to comment.