From 03ca8de6d744e9f52803a5d324ddbee822a9d045 Mon Sep 17 00:00:00 2001 From: Alex Date: Wed, 7 Sep 2022 10:33:57 +0200 Subject: [PATCH] Update config.cpp --- src/config.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config.cpp b/src/config.cpp index 98b38c3f..a4d90909 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -30,14 +30,14 @@ std::optional tryExpandPath(const std::string base, const std::stri path = fs::path(base); } - spdlog::debug("Try expanding: {}", path); + spdlog::debug("Try expanding: {}", path.string()); wordexp_t p; if (wordexp(path.c_str(), &p, 0) == 0) { if (access(*p.we_wordv, F_OK) == 0) { std::string result = *p.we_wordv; wordfree(&p); - spdlog::debug("Found config file: {}", path); + spdlog::debug("Found config file: {}", path.string()); return result; } wordfree(&p);