mirror of
https://github.com/spf13/viper
synced 2025-05-11 22:57:21 +00:00
fix unnecessary leading newline
This commit is contained in:
parent
7ebd361a07
commit
00ac2c52c6
1 changed files with 0 additions and 1 deletions
|
@ -173,7 +173,6 @@ func (pp *HCLParser) UnmarshalReader(v *Viper, in io.Reader, c map[string]interf
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
func (pp *HCLParser) MarshalWriter(v *Viper, f afero.File, c map[string]interface{}) error {
|
func (pp *HCLParser) MarshalWriter(v *Viper, f afero.File, c map[string]interface{}) error {
|
||||||
|
|
||||||
b, err := json.Marshal(c)
|
b, err := json.Marshal(c)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
|
Loading…
Add table
Reference in a new issue