Skip to content

Commit be1a2a7

Browse files
committed
style: clean-up
1 parent 61e5d58 commit be1a2a7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,9 +134,9 @@ You can handle the specific case where no config file is found like this:
134134
var fileLookupError viper.fileLookupError
135135
if err := viper.ReadInConfig(); err != nil {
136136
if errors.As(err, &fileLookupError) {
137-
// Indicates an explicitly set config file is not found, such as with
138-
// using `viper.SetConfigFile`, or that no config file was found in
139-
// any search path, such as when using `viper.AddConfigPath`.
137+
// Indicates an explicitly set config file is not found (such as with
138+
// using `viper.SetConfigFile`) or that no config file was found in
139+
// any search path (such as when using `viper.AddConfigPath`)
140140
} else {
141141
// Config file was found but another error was produced
142142
}

0 commit comments

Comments
 (0)