mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-30 22:39:58 +02:00
resources: Fix typos in error message and variables
This commit is contained in:
committed by
Bjørn Erik Pedersen
parent
b0b1b76dc9
commit
891b2918d2
@@ -34,7 +34,7 @@ type Client struct {
|
||||
// New creates a new Client with the given specification.
|
||||
func New(rs *resources.Spec, t tpl.TemplatesProvider) *Client {
|
||||
if rs == nil {
|
||||
panic("must provice a resource Spec")
|
||||
panic("must provide a resource Spec")
|
||||
}
|
||||
if t == nil {
|
||||
panic("must provide a template provider")
|
||||
|
Reference in New Issue
Block a user