diff options
Diffstat (limited to 'cmd/ponzu/options.go')
-rw-r--r-- | cmd/ponzu/options.go | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/cmd/ponzu/options.go b/cmd/ponzu/options.go index b22f0d2..e0fb8fc 100644 --- a/cmd/ponzu/options.go +++ b/cmd/ponzu/options.go @@ -150,7 +150,7 @@ func vendorCorePackages(path string) error { return err } - // create a user content directory + // create a user content directory to be vendored contentPath := filepath.Join(path, "content") err = os.Mkdir(contentPath, os.ModeDir|os.ModePerm) if err != nil { @@ -165,6 +165,13 @@ func vendorCorePackages(path string) error { } } + // create a user content directory at project root + contentPath = filepath.Join(path, "content") + err = os.Mkdir(contentPath, os.ModeDir|os.ModePerm) + if err != nil { + return err + } + return nil } |