pull/2239/merge
Alex Hua 2024-07-24 15:16:48 +00:00 committed by GitHub
commit d66aadae0a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -2108,6 +2108,9 @@ std::string applyDir(const std::string& dir, const std::string& relPath)
s += relPath;
}
else {
while (s.back() == '/' || s.back() == '\\') {
s.pop_back();
}
s += "/";
s += relPath;
}