Skip to content

Commit

Permalink
parse file skips ok
Browse files Browse the repository at this point in the history
  • Loading branch information
ineed bots committed Dec 30, 2023
1 parent 0e04ac5 commit a0ffbe7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/tool/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,10 @@ auto parse_file(game game, mach mach, fs::path file, fs::path rel) -> result
try
{
if (file.extension() != ".gsc")
throw std::runtime_error("expected .gsc file");
{
std::cerr << fmt::format("{} at {}\n", "expected .gsc file", file.generic_string());
return result::ok;
}

rel = fs::path{ games_rev.at(game) } / rel / file.filename();

Expand Down

1 comment on commit a0ffbe7

@diamante0018
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice

Please sign in to comment.