Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
li mengdong
viper
Commits
6c174566
Commit
6c174566
authored
3 years ago
by
Stephen Wodecki
Committed by
Márk Sági-Kazár
3 years ago
Browse files
Options
Download
Email Patches
Plain Diff
unnecessary operand
parent
f646c50b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
viper.go
+1
-1
viper.go
with
1 addition
and
1 deletion
+1
-1
viper.go
+
1
-
1
View file @
6c174566
...
...
@@ -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
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment