Code style: add curly braces

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
This commit is contained in:
Thomas Lauf 2022-09-23 13:59:40 +02:00
parent 4a0ab1236d
commit 29a00fbcd9

View file

@ -86,11 +86,17 @@ int CmdReport (
{
std::string script;
for (auto& arg : cli._args)
{
if (arg.hasTag ("EXT"))
{
script = findExtension (extensions, arg.attribute ("canonical"));
}
}
if (script.empty ())
{
throw std::string ("Specify which report to run.");
}
// Compose Header info.
auto filter = cli.getFilter ();