- Now handles the configuration variable recognition of the
new custom report variables.
This commit is contained in:
@@ -367,17 +367,18 @@ std::string handleVersion (Config& conf)
|
|||||||
std::vector <std::string> unrecognized;
|
std::vector <std::string> unrecognized;
|
||||||
foreach (i, all)
|
foreach (i, all)
|
||||||
{
|
{
|
||||||
if (recognized.find (*i) == std::string::npos)
|
if (recognized.find (*i) == std::string::npos)
|
||||||
{
|
{
|
||||||
// These are special configuration variables, because their name is
|
// These are special configuration variables, because their name is
|
||||||
// dynamic.
|
// dynamic.
|
||||||
if (i->find ("color.keyword.") == std::string::npos &&
|
if (i->find ("color.keyword.") == std::string::npos &&
|
||||||
i->find ("color.project.") == std::string::npos &&
|
i->find ("color.project.") == std::string::npos &&
|
||||||
i->find ("color.tag.") == std::string::npos)
|
i->find ("color.tag.") == std::string::npos &&
|
||||||
{
|
i->find ("report.") == std::string::npos)
|
||||||
unrecognized.push_back (*i);
|
{
|
||||||
}
|
unrecognized.push_back (*i);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (unrecognized.size ())
|
if (unrecognized.size ())
|
||||||
|
|||||||
Reference in New Issue
Block a user