Dependencies
- Restricted dependency nag message to only tasks that have dependencies.
This commit is contained in:
@@ -154,11 +154,15 @@ bool dependencyChainBroken (Task& task)
|
|||||||
std::string dependencyNag (Task& task)
|
std::string dependencyNag (Task& task)
|
||||||
{
|
{
|
||||||
std::stringstream out;
|
std::stringstream out;
|
||||||
out << "# dependencyNag "
|
|
||||||
<< task.id
|
if (task.has ("depends"))
|
||||||
<< " "
|
{
|
||||||
<< task.get ("uuid")
|
out << "# dependencyNag "
|
||||||
<< "\n";
|
<< task.id
|
||||||
|
<< " "
|
||||||
|
<< task.get ("uuid")
|
||||||
|
<< "\n";
|
||||||
|
}
|
||||||
|
|
||||||
return out.str ();
|
return out.str ();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user