mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Entities: There is no spoon^H^H^H^H^Huda entity
- The code was trying to canonicalize 'attribute' and 'uda' separately, but there are no 'uda' entities.
This commit is contained in:
parent
264dae02bc
commit
b92802c2fb
2 changed files with 3 additions and 6 deletions
|
@ -923,8 +923,7 @@ void CLI2::canonicalizeNames ()
|
|||
std::string name = a.attribute ("name");
|
||||
std::string canonical;
|
||||
if (canonicalize (canonical, "pseudo", name) ||
|
||||
canonicalize (canonical, "attribute", name) ||
|
||||
canonicalize (canonical, "uda", name))
|
||||
canonicalize (canonical, "attribute", name))
|
||||
{
|
||||
a.attribute ("canonical", canonical);
|
||||
}
|
||||
|
@ -1116,8 +1115,7 @@ void CLI2::desugarFilterAttributes ()
|
|||
reconstructed.push_back (lhs);
|
||||
found = true;
|
||||
}
|
||||
else if (canonicalize (canonical, "attribute", name) ||
|
||||
canonicalize (canonical, "uda", name))
|
||||
else if (canonicalize (canonical, "attribute", name))
|
||||
{
|
||||
// Certain attribute types do not suport math.
|
||||
// string --> no
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue