This commit is contained in:
parent
74f0f19b4a
commit
6ac0b124f2
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue