Skip to content

Commit

Permalink
add forgotten file to fix resources on embedded
Browse files Browse the repository at this point in the history
  • Loading branch information
mjleehh committed Dec 17, 2024
1 parent 9971a27 commit 1c9a80c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tbd/tbd_storage/library/include/tbd/storage/resources.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ inline std::optional<tbd::storage::filesystem::path> 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 {};
}
Expand Down

0 comments on commit 1c9a80c

Please sign in to comment.