all repos — vite @ 50ebf6bea9b02cef812535292204a4a05fe084c5

a fast (this time, actually) and minimal static site generator

Fix copying non .md files
Anirudh Oppiliappan x@icyphox.sh
Fri, 06 Aug 2021 08:48:01 +0530
commit

50ebf6bea9b02cef812535292204a4a05fe084c5

parent

6855b44d8edaf25b35bde2461a106b3705b061c1

1 files changed, 4 insertions(+), 1 deletions(-)

jump to
M commands/build.gocommands/build.go

@@ -83,7 +83,10 @@ return err

} } else { src := filepath.Join(PAGES, f) - util.CopyFile(src, BUILD) + dst := filepath.Join(BUILD, f) + if err := util.CopyFile(src, dst); err != nil { + return err + } } } return nil