Commit 74d6aecc authored by aligungr's avatar aligungr

io.cpp bug fix

parent 38bb44a4
......@@ -28,9 +28,6 @@ void CreateDirectory(const std::string &path)
{
if (!Exists(path))
{
if (!std::filesystem::is_directory(path))
throw std::runtime_error("Required path '" + path + "' exists but not a directory.");
std::filesystem::create_directory(path);
RelaxPermissions(path);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment