From 33269b54d397892f3ea54b32ddae86e0561cbc18 Mon Sep 17 00:00:00 2001 From: Mark Bates Date: Fri, 18 Oct 2019 16:19:45 -0400 Subject: [PATCH] should've never let it start --- pkging/mem/mem.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkging/mem/mem.go b/pkging/mem/mem.go index 282f33a..8815d5a 100644 --- a/pkging/mem/mem.go +++ b/pkging/mem/mem.go @@ -188,6 +188,7 @@ func (fx *Pkger) Add(f pkging.File) error { // Create creates the named file with mode 0666 (before umask) - It's actually 0644, truncating it if it already exists. If successful, methods on the returned File can be used for I/O; the associated file descriptor has mode O_RDWR. func (fx *Pkger) Create(name string) (pkging.File, error) { + fx.MkdirAll("/", 0755) pt, err := fx.Parse(name) if err != nil { return nil, err