mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-14 20:37:55 -05:00
create: Fix typo in error message
This commit is contained in:
parent
ecf3cd514f
commit
2dad13c0e4
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ func NewContent(h *hugolib.HugoSites, kind, targetPath string, force bool) error
|
|||
}
|
||||
|
||||
if ext == "" {
|
||||
return "", fmt.Errorf("failed to resolve %q to a archetype template", targetPath)
|
||||
return "", fmt.Errorf("failed to resolve %q to an archetype template", targetPath)
|
||||
}
|
||||
|
||||
if !files.IsContentFile(b.targetPath) {
|
||||
|
|
Loading…
Reference in a new issue