Fix copying non .md files
Anirudh Oppiliappan x@icyphox.sh
Fri, 06 Aug 2021 08:48:01 +0530
1 files changed,
4 insertions(+),
1 deletions(-)
jump to
M
commands/build.go
→
commands/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