From 1c9a80cdd85a63be72c4cbe77695d21a4de01749 Mon Sep 17 00:00:00 2001 From: Michael Jonathan Lee Date: Tue, 17 Dec 2024 11:46:49 +0100 Subject: [PATCH] add forgotten file to fix resources on embedded --- tbd/tbd_storage/library/include/tbd/storage/resources.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tbd/tbd_storage/library/include/tbd/storage/resources.hpp b/tbd/tbd_storage/library/include/tbd/storage/resources.hpp index 29c726f9..e26fd411 100644 --- a/tbd/tbd_storage/library/include/tbd/storage/resources.hpp +++ b/tbd/tbd_storage/library/include/tbd/storage/resources.hpp @@ -15,8 +15,8 @@ inline std::optional get_fs_path(const std::stri // return {}; // } - auto full_path = absolute(root_path / fs::path(path).relative_path()); - if (!exists(full_path)) { + auto full_path = root_path / fs::path(path).relative_path(); + if (!fs::exists(full_path)) { TBD_LOGE("storage", "path %s does not exist", full_path.c_str()); return {}; }