mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Sync
- Managed to cut/paste a superfluous semicolon. Oops.
This commit is contained in:
parent
74dcdd897a
commit
42521fea8b
4 changed files with 8 additions and 8 deletions
|
@ -665,7 +665,7 @@ void handlePush (std::string& outs)
|
|||
{
|
||||
// copy files locally
|
||||
if (!uri.is_directory())
|
||||
throw std::string ("The uri '"); + uri.path + "' does not appear to be a directory.";
|
||||
throw std::string ("The uri '") + uri.path + "' does not appear to be a directory.";
|
||||
|
||||
std::ifstream ifile1 ((location.data + "/undo.data").c_str(), std::ios_base::binary);
|
||||
std::ofstream ofile1 ((uri.path + "undo.data").c_str(), std::ios_base::binary);
|
||||
|
@ -704,7 +704,7 @@ void handlePull (std::string& outs)
|
|||
Directory location (context.config.get ("data.location"));
|
||||
|
||||
if (!uri.append ("{pending,undo,completed}.data"))
|
||||
throw std::string ("The uri '"); + uri.path + "' does not appear to be a directory.";
|
||||
throw std::string ("The uri '") + uri.path + "' does not appear to be a directory.";
|
||||
|
||||
Transport* transport;
|
||||
if ((transport = Transport::getTransport (uri)) != NULL)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue