mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-26 15:47:19 +02:00
Bug #433 - Missing punctuation in some command output
- Made punctuation consistent throughout the code and addressed a few broken tests.
This commit is contained in:
parent
c43eb31374
commit
d6a2c1872c
19 changed files with 81 additions and 78 deletions
|
@ -303,7 +303,7 @@ void Hooks::initialize ()
|
|||
(void) n.skip (',');
|
||||
}
|
||||
else
|
||||
throw std::string ("Malformed hook definition '") + *it + "'";
|
||||
throw std::string ("Malformed hook definition '") + *it + "'.";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -331,7 +331,7 @@ bool Hooks::trigger (const std::string& event)
|
|||
return false;
|
||||
}
|
||||
else
|
||||
throw std::string ("Unrecognized hook event '") + event + "'";
|
||||
throw std::string ("Unrecognized hook event '") + event + "'.";
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
@ -358,7 +358,7 @@ bool Hooks::trigger (const std::string& event, std::vector <Task>& tasks)
|
|||
return false;
|
||||
}
|
||||
else
|
||||
throw std::string ("Unrecognized hook event '") + event + "'";
|
||||
throw std::string ("Unrecognized hook event '") + event + "'.";
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
@ -385,7 +385,7 @@ bool Hooks::trigger (const std::string& event, Task& task)
|
|||
return false;
|
||||
}
|
||||
else
|
||||
throw std::string ("Unrecognized hook event '") + event + "'";
|
||||
throw std::string ("Unrecognized hook event '") + event + "'.";
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
@ -415,7 +415,7 @@ bool Hooks::trigger (
|
|||
return false;
|
||||
}
|
||||
else
|
||||
throw std::string ("Unrecognized hook event '") + event + "'";
|
||||
throw std::string ("Unrecognized hook event '") + event + "'.";
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue