whoops typo'd the path to the directory to create
This commit is contained in:
parent
85c2515534
commit
31f8ab2d0f
1 changed files with 2 additions and 1 deletions
3
main.scm
3
main.scm
|
@ -132,7 +132,8 @@ string-block
|
|||
|
||||
(define (write-with-template filename display-body-thunk)
|
||||
(let ((destination-directory (pathname-directory filename)))
|
||||
(when destination-directory (create-directory pathname-directory #t)))
|
||||
(when destination-directory
|
||||
(create-directory (make-pathname html-repo-path destination-directory) #t)))
|
||||
(with-output-to-file (make-pathname html-repo-path filename)
|
||||
(lambda () (populate-html-template repository-name display-body-thunk))))
|
||||
|
||||
|
|
Loading…
Reference in a new issue