Commit 6c174566 authored by Stephen Wodecki's avatar Stephen Wodecki Committed by Márk Sági-Kazár
Browse files

unnecessary operand

parent f646c50b
Showing with 1 addition and 1 deletion
+1 -1
......@@ -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
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment