mirror of
https://github.com/spf13/viper
synced 2025-05-07 04:37:20 +00:00
Fix indentation for yamlStringSettings
The indentation seemed messed up and didn't read well. This change fixes it.
This commit is contained in:
parent
6d33b5a963
commit
08ec44ed04
1 changed files with 3 additions and 3 deletions
|
@ -630,11 +630,11 @@ import (
|
|||
|
||||
func yamlStringSettings() string {
|
||||
c := viper.AllSettings()
|
||||
bs, err := yaml.Marshal(c)
|
||||
if err != nil {
|
||||
bs, err := yaml.Marshal(c)
|
||||
if err != nil {
|
||||
t.Fatalf("unable to marshal config to YAML: %v", err)
|
||||
}
|
||||
return string(bs)
|
||||
return string(bs)
|
||||
}
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue