aboutsummaryrefslogtreecommitdiff
path: root/src/lib.lisp
diff options
context:
space:
mode:
authorColin Okay <okay@toyful.space>2022-03-05 07:48:01 -0600
committerColin Okay <okay@toyful.space>2022-03-05 07:48:01 -0600
commita35a3498fafed39ca025b370d19a7c052836c157 (patch)
tree12ee7d83f1948f1bdb9fd4bac619185b294942ab /src/lib.lisp
parent0195f434f0de8c9a1c56e63951d76c00fb7c20e0 (diff)
ensuring ./cache directory exists
Diffstat (limited to 'src/lib.lisp')
-rw-r--r--src/lib.lisp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib.lisp b/src/lib.lisp
index 1ccf5c0..edcbf47 100644
--- a/src/lib.lisp
+++ b/src/lib.lisp
@@ -86,6 +86,7 @@
for id = (getf old :id)
unless (find id new-ols :key (lambda (x) (getf x :id)))
collect old))))
+ (ensure-directories-exist (cached-oneliners-file))
(with-open-file (output (cached-oneliners-file) :direction :output :if-exists :supersede)
(print updated output))))