Remove unnecessary check when creating subdir chains

This commit is contained in:
Henrik Rydgård 2024-11-30 00:37:15 +01:00
parent 4793222fae
commit 011f73fedb

View file

@ -665,9 +665,7 @@ bool CreateFullPath(const Path &path) {
Path curPath = root;
for (auto part : parts) {
curPath /= part;
if (!File::Exists(curPath)) {
File::CreateDir(curPath);
}
File::CreateDir(curPath);
}
return true;