Fixed syntax errors

This commit is contained in:
David Allen 2022-07-30 13:07:02 -05:00
parent a0be116b66
commit 58936b7db9

View file

@ -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);
}