mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Code Cleanup
- Redundant debug message. - More consistent check for messages aggregation.
This commit is contained in:
parent
c84e3cc893
commit
8ef9ec9b9f
1 changed files with 2 additions and 2 deletions
|
@ -103,7 +103,6 @@ int Context::initialize (int argc, const char** argv)
|
|||
if (override)
|
||||
{
|
||||
rc_file = File (override);
|
||||
debug ("TASKRC override: ");
|
||||
header (format (STRING_CONTEXT_RC_OVERRIDE, rc_file._data));
|
||||
}
|
||||
|
||||
|
@ -731,7 +730,8 @@ void Context::error (const std::string& input)
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
void Context::debug (const std::string& input)
|
||||
{
|
||||
debugMessages.push_back (input);
|
||||
if (input.length ())
|
||||
debugMessages.push_back (input);
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue