fix
Some checks reported errors
BlockStorage/repertory/pipeline/head Something is wrong with the build of this commit

This commit is contained in:
Scott E. Graves 2025-04-15 14:48:40 -05:00
parent 0bfe1e1ccd
commit 690902b31d

View File

@ -86,8 +86,8 @@ auto traverse_directory(
struct dirent *de{nullptr}; struct dirent *de{nullptr};
while (res && (de = readdir(root)) && !is_stop_requested()) { while (res && (de = readdir(root)) && !is_stop_requested()) {
if (de->d_type == DT_DIR) { if (de->d_type == DT_DIR) {
utils::error::handle_debug(function_name, repertory::utils::error::handle_debug(function_name,
fmt::format("item|{}", de->d_name)); fmt::format("item|{}", de->d_name));
if ((std::string(de->d_name) == ".") || if ((std::string(de->d_name) == ".") ||
(std::string(de->d_name) == "..")) { (std::string(de->d_name) == "..")) {
continue; continue;