Removed confirmations from rebuild command.
h3rald h3rald@h3rald.com
Sun, 13 Nov 2016 11:51:13 +0100
1 files changed,
5 insertions(+),
5 deletions(-)
jump to
M
hastysite.nim
→
hastysite.nim
@@ -354,10 +354,10 @@ quit("Aborted.")
of "rebuild": quitIfNotExists(cfg) var hs = newHastySite(cfg) - if hs.confirmDeleteDir(hs.dirs.temp) and hs.confirmDeleteDir(hs.dirs.output): - hs.clean() - hs.build() - else: - quit("Aborted.") + #if hs.confirmDeleteDir(hs.dirs.temp) and hs.confirmDeleteDir(hs.dirs.output): + hs.clean() + hs.build() + #else: + # quit("Aborted.") else: quit("Error: Command '$1' is not supported" % command)