mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
Extensions: No need to show extension output in debug mode, it's redundant
This commit is contained in:
parent
76c5d13036
commit
6814c3d13b
1 changed files with 3 additions and 7 deletions
|
@ -87,18 +87,14 @@ int Extensions::callExtension (
|
|||
status = execute (script, {}, inputStr, outputStr);
|
||||
}
|
||||
else
|
||||
{
|
||||
status = execute (script, {}, inputStr, outputStr);
|
||||
}
|
||||
|
||||
output = split (outputStr, '\n');
|
||||
|
||||
if (_debug)
|
||||
{
|
||||
std::cout << "Extension: output\n";
|
||||
for (auto& i : output)
|
||||
if (i != "")
|
||||
std::cout << " " << i << "\n";
|
||||
|
||||
std::cout << "Extension: Completed with status " << status << "\n";
|
||||
}
|
||||
|
||||
return status;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue