mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Dependencies
- Restricted dependency nag message to only tasks that have dependencies.
This commit is contained in:
parent
3a566460a2
commit
d738f778ee
1 changed files with 9 additions and 5 deletions
|
@ -154,11 +154,15 @@ bool dependencyChainBroken (Task& task)
|
|||
std::string dependencyNag (Task& task)
|
||||
{
|
||||
std::stringstream out;
|
||||
out << "# dependencyNag "
|
||||
<< task.id
|
||||
<< " "
|
||||
<< task.get ("uuid")
|
||||
<< "\n";
|
||||
|
||||
if (task.has ("depends"))
|
||||
{
|
||||
out << "# dependencyNag "
|
||||
<< task.id
|
||||
<< " "
|
||||
<< task.get ("uuid")
|
||||
<< "\n";
|
||||
}
|
||||
|
||||
return out.str ();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue