From 3337435a15b21dde732f6fc72c0d79665d881886 Mon Sep 17 00:00:00 2001 From: Sam Carlton Date: Fri, 11 Jun 2021 13:03:02 -0500 Subject: [PATCH] Fix test rebuilding with existing directory --- helpers/incremental/caching.test.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/helpers/incremental/caching.test.js b/helpers/incremental/caching.test.js index 32f828d..bd1e87f 100644 --- a/helpers/incremental/caching.test.js +++ b/helpers/incremental/caching.test.js @@ -28,6 +28,8 @@ test('Can cache publish folder', async (t) => { if ( await hasCachedPublishFolder() ) { t.log('Publish folder has been cached already') t.pass() + + return } t.log('No prexisting cache folder found')