mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-13 08:15:37 +00:00
create: Fix typo in error message
This commit is contained in:
1 parent
ecf3cd514f
commit
2dad13c0e4
1 file changed
+1
-1
+1
-1
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user