Breh
Anirudh Oppiliappan x@icyphox.sh
Wed, 04 Nov 2020 11:28:42 +0530
1 files changed,
2 insertions(+),
2 deletions(-)
jump to
M
build.go
→
build.go
@@ -93,7 +93,7 @@ htmlFile.Close()
} func viteBuild() { - if cfg.Prebuild != "" { + if len(cfg.Prebuild) == 0 { printMsg("executing pre-build actions...") execute(cfg.Prebuild) }@@ -134,7 +134,7 @@ }
printMsg("site build complete") printMsg("generating feeds...") generateRSS(posts, cfg) - if cfg.Postbuild != "" { + if len(cfg.Postbuild) == 0 { printMsg("executing post-build actions...") execute(cfg.Postbuild) }