Skip to content

Commit

Permalink
fix(Generator): propagate createDirectory error
Browse files Browse the repository at this point in the history
  • Loading branch information
alandefreitas committed Nov 22, 2024
1 parent 5cd44bd commit ece7e7d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/lib/Support/Generator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,7 @@ buildOne(
Corpus const& corpus) const
{
std::string dir = files::getParentDir(fileName);
if(auto err = files::createDirectory(dir))
return err;
MRDOCS_TRY(files::createDirectory(dir));

std::ofstream os;
try
Expand Down

0 comments on commit ece7e7d

Please # to comment.