mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
CmdDiagnostics: Remove redundant nesting
This commit is contained in:
parent
22368b9a40
commit
0693f3cfc4
1 changed files with 36 additions and 37 deletions
|
@ -337,7 +337,7 @@ int CmdDiagnostics::execute (std::string& output)
|
||||||
// Verify UUIDs are all unique.
|
// Verify UUIDs are all unique.
|
||||||
out << bold.colorize (STRING_CMD_DIAG_TESTS)
|
out << bold.colorize (STRING_CMD_DIAG_TESTS)
|
||||||
<< "\n";
|
<< "\n";
|
||||||
{
|
|
||||||
// Determine terminal details.
|
// Determine terminal details.
|
||||||
const char* term = getenv ("TERM");
|
const char* term = getenv ("TERM");
|
||||||
out << " $TERM: "
|
out << " $TERM: "
|
||||||
|
@ -376,7 +376,6 @@ int CmdDiagnostics::execute (std::string& output)
|
||||||
out << " " << STRING_CMD_DIAG_UUID_NO_DUP
|
out << " " << STRING_CMD_DIAG_UUID_NO_DUP
|
||||||
<< "\n";
|
<< "\n";
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
out << "\n";
|
out << "\n";
|
||||||
output = out.str ();
|
output = out.str ();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue