disable traceback lines with non-existing files

This commit is contained in:
MihailRis
2024-11-24 12:09:46 +03:00
parent 5039bdfc63
commit 9ed80ec835
4 changed files with 13 additions and 7 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ static fs::path resolve_path(const std::string& path) {
static fs::path resolve_path_soft(const std::string& path) {
if (path.find(':') == std::string::npos) {
return path;
return fs::u8path("");
}
return engine->getPaths()->resolve(path, false);
}