[Codacy] Fixed some issues found by codacy.

Added skipping shaders directory in scan
This commit is contained in:
Gliniak
2024-01-20 13:19:37 +01:00
parent 18b5a6706a
commit c8ca077ec4
8 changed files with 8 additions and 10 deletions

View File

@@ -61,7 +61,7 @@ std::shared_ptr<cpptoml::table> ParseConfig(
const std::filesystem::path& config_path) {
try {
return ParseFile(config_path);
} catch (cpptoml::parse_exception e) {
} catch (cpptoml::parse_exception& e) {
xe::FatalError(fmt::format("Failed to parse config file '{}':\n\n{}",
xe::path_to_utf8(config_path), e.what()));
return nullptr;