file.exists, ... completely nothrow

This commit is contained in:
MihailRis
2024-06-03 18:23:00 +03:00
parent 5f00cf0d5b
commit 57fd91b417
3 changed files with 7 additions and 4 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ static fs::path resolve_path_soft(const std::string& path) {
if (path.find(':') == std::string::npos) {
return path;
}
return resolve_path(path);
return engine->getPaths()->resolve(path, false);
}
static int l_file_find(lua_State* L) {