Skip to content

Commit

Permalink
create: Fix typo in error message
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronhooper authored and bep committed Feb 22, 2023
1 parent ecf3cd5 commit 2dad13c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion create/content.go
Expand Up @@ -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) {
Expand Down

0 comments on commit 2dad13c

Please sign in to comment.