diff options
author | Bjørn Erik Pedersen <[email protected]> | 2021-11-12 09:57:20 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2021-11-12 12:05:31 +0100 |
commit | 057d02de256a3866b7044abaa4d03c69d9fedef0 (patch) | |
tree | 5d89f34e57ce3c17753e8cce891f3c05f71f3099 /create | |
parent | 43ac59da850901cc848b35129ca7223f9f9a9b19 (diff) | |
download | hugo-057d02de256a3866b7044abaa4d03c69d9fedef0.tar.gz hugo-057d02de256a3866b7044abaa4d03c69d9fedef0.zip |
create: Add a log statement when archetype is a directory
See #9157
Diffstat (limited to 'create')
-rw-r--r-- | create/content.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/create/content.go b/create/content.go index 739783398..52393ce5b 100644 --- a/create/content.go +++ b/create/content.go @@ -207,6 +207,9 @@ func (b *contentBuilder) buildDir() error { in.Close() out.Close() } + + b.h.Log.Printf("Content dir %q created", filepath.Join(baseDir, b.targetPath)) + return nil } |