summaryrefslogtreecommitdiff
path: root/src/buildtool/common/location.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildtool/common/location.cpp')
-rw-r--r--src/buildtool/common/location.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/buildtool/common/location.cpp b/src/buildtool/common/location.cpp
index a266069d..597fc286 100644
--- a/src/buildtool/common/location.cpp
+++ b/src/buildtool/common/location.cpp
@@ -18,7 +18,6 @@
#include "src/buildtool/file_system/file_system_manager.hpp"
#include "src/buildtool/logging/log_level.hpp"
#include "src/buildtool/logging/logger.hpp"
-#include "src/buildtool/storage/config.hpp"
auto ReadLocationObject(nlohmann::json const& location,
std::optional<std::filesystem::path> const& ws_root)
@@ -43,7 +42,7 @@ auto ReadLocationObject(nlohmann::json const& location,
root_path = *ws_root;
}
if (root == "home") {
- root_path = StorageConfig::GetUserHome();
+ root_path = FileSystemManager::GetUserHome();
}
if (root == "system") {
root_path = FileSystemManager::GetCurrentDirectory().root_path();