mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-14 20:33:59 +02:00
all: Apply staticcheck recommendations
This commit is contained in:
@@ -22,7 +22,7 @@ import (
|
||||
|
||||
"github.com/BurntSushi/toml"
|
||||
|
||||
"gopkg.in/yaml.v2"
|
||||
yaml "gopkg.in/yaml.v2"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -62,7 +62,7 @@ func InterfaceToConfig(in interface{}, format metadecoders.Format, w io.Writer)
|
||||
return err
|
||||
|
||||
default:
|
||||
return errors.New("Unsupported Format provided")
|
||||
return errors.New("unsupported Format provided")
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user