mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
CmdLogo: Code cleanup
This commit is contained in:
parent
91132a42c8
commit
087cee5425
1 changed files with 1 additions and 6 deletions
|
@ -49,11 +49,6 @@ CmdLogo::CmdLogo ()
|
|||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// Algorithm:
|
||||
// Copy file rc.data.location/extensions
|
||||
// Generate UUID
|
||||
// Call the "install" function once, store results in rc:
|
||||
// extension.<uuid>=<JSON>
|
||||
int CmdLogo::execute (std::string& output)
|
||||
{
|
||||
static const char* data[] =
|
||||
|
@ -89,7 +84,7 @@ int CmdLogo::execute (std::string& output)
|
|||
""
|
||||
};
|
||||
|
||||
if (!context.color ())
|
||||
if (! context.color ())
|
||||
throw std::string (STRING_CMD_LOGO_COLOR_REQ);
|
||||
|
||||
std::string indent (context.config.getInteger ("indent.report"), ' ');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue