Fixed checksums file generation.
h3rald h3rald@h3rald.com
Fri, 03 Nov 2017 10:03:34 +0100
1 files changed,
2 insertions(+),
0 deletions(-)
jump to
M
hastysite.nim
→
hastysite.nim
@@ -199,6 +199,8 @@ let content = f.preprocessContent(hs.dirs.contents & DirSep, meta)
let dest = hs.dirs.temp/f dest.parentDir.createDir dest.writeFile(content) + if not hs.dirs.temp.dirExists: + hs.dirs.temp.createDir if not hs.files.checksums.fileExists: let checksums = newJObject() hs.files.checksums.writeFile(checksums.pretty)