dependancy fix
Some checks failed
demo.yaml / dependancy fix (push) Failing after 0s

This commit is contained in:
Jorijn van der Graaf 2025-12-04 11:48:33 +01:00
commit 6ac0b124f2

View file

@ -72,7 +72,7 @@ namespace Crafter {
} }
Project::Project(fs::path&& path, const std::string_view config) : path(std::move(path)) { Project::Project(fs::path&& path, const std::string_view config) : path(std::move(path)) {
if (!fs::exists(this->path)) { if (!fs::exists(this->path)) {
throw std::runtime_error(std::format("Project file: {} not found.", path.generic_string())); throw std::runtime_error(std::format("Project file: {} not found.", this->path.generic_string()));
} }
std::ifstream f(this->path); std::ifstream f(this->path);