From 58936b7db9499656e348b06bbee9a7b1ef0200df Mon Sep 17 00:00:00 2001 From: "David J. Allen" Date: Sat, 30 Jul 2022 13:07:02 -0500 Subject: [PATCH] Fixed syntax errors --- src/cache.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cache.cpp b/src/cache.cpp index ea75032..add534a 100644 --- a/src/cache.cpp +++ b/src/cache.cpp @@ -16,8 +16,8 @@ namespace gdpm::cache{ /* Check and make sure directory is created before attempting to open */ namespace fs = std::filesystem; - fs::path dir_path = fs::path(cache_path).parent.path(); - if(!fs::exists(dir_path){ + fs::path dir_path = fs::path(cache_path).parent_path(); + if(!fs::exists(dir_path)){ log::info("Creating cache directories...{}", cache_path); fs::create_directories(dir_path); }