From 1a0e9d1484d20ce457a6feea834a3b0068937eb9 Mon Sep 17 00:00:00 2001 From: Matthew Butterick Date: Tue, 30 Oct 2018 14:52:45 -0700 Subject: [PATCH] oops --- pollen/private/preheat-cache.rkt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pollen/private/preheat-cache.rkt b/pollen/private/preheat-cache.rkt index aac1497..c7c563b 100644 --- a/pollen/private/preheat-cache.rkt +++ b/pollen/private/preheat-cache.rkt @@ -14,8 +14,8 @@ ;; seems like it would be slow to load cache.rktd but it's not. (define-values (_ private-cache-dir) (make-cache-dirs path)) (define cache-db-file (build-path private-cache-dir "cache.rktd")) - (or (file-exists? cache-db-file) - (hash-has-key? (file->value cache-db-file) (paths->key path)))) + (and (file-exists? cache-db-file) + (hash-has-key? (file->value cache-db-file) (paths->key path)))) ;; compile a path inside a place (= parallel processing) (define (path-into-place starting-dir path)