mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Task Validation
- Cleaned up 'duplicate' command due to the new validation code.
This commit is contained in:
parent
12cfdf1b5a
commit
12e1a30d2f
1 changed files with 0 additions and 5 deletions
|
@ -90,11 +90,6 @@ int CmdDuplicate::execute (std::string& output)
|
||||||
}
|
}
|
||||||
|
|
||||||
modify_task_annotate (dup, modifications);
|
modify_task_annotate (dup, modifications);
|
||||||
apply_defaults (dup);
|
|
||||||
|
|
||||||
// Only allow valid tasks.
|
|
||||||
dup.validate ();
|
|
||||||
|
|
||||||
context.tdb2.add (dup);
|
context.tdb2.add (dup);
|
||||||
++count;
|
++count;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue