mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
CmdImport: Removed redundant filter processing
This commit is contained in:
parent
e76f63aa01
commit
778ba44beb
1 changed files with 0 additions and 4 deletions
|
@ -60,10 +60,6 @@ int CmdImport::execute (std::string&)
|
|||
int rc = 0;
|
||||
int count = 0;
|
||||
|
||||
Filter filter;
|
||||
if (filter.hasFilter ())
|
||||
throw std::string (STRING_ERROR_NO_FILTER);
|
||||
|
||||
// Get filenames from command line arguments.
|
||||
std::vector <std::string> words = context.cli2.getWords ();
|
||||
if (! words.size () || (words.size () == 1 && words[0] == "-"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue