mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-28 13:37:20 +02:00
Bug #1001
- Actual resolution of Bug #1001. The Edit command was actually changing the working directory without going back to the original one afterwards.
This commit is contained in:
parent
e1407437e0
commit
b1e63e575a
3 changed files with 12 additions and 5 deletions
|
@ -31,6 +31,7 @@
|
|||
#include <fstream>
|
||||
#include <sstream>
|
||||
#include <algorithm>
|
||||
#include <assert.h>
|
||||
#include <pwd.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
@ -395,8 +396,8 @@ int Context::dispatch (std::string &out)
|
|||
return rc;
|
||||
}
|
||||
|
||||
if (commands["help"])
|
||||
return commands["help"]->execute (out);
|
||||
assert (commands["help"]);
|
||||
return commands["help"]->execute (out);
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue