mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
CmdLogo: Code cleanup
This commit is contained in:
parent
00a4cbf906
commit
1c1d9428c5
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)
|
int CmdLogo::execute (std::string& output)
|
||||||
{
|
{
|
||||||
static const char* data[] =
|
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);
|
throw std::string (STRING_CMD_LOGO_COLOR_REQ);
|
||||||
|
|
||||||
std::string indent (context.config.getInteger ("indent.report"), ' ');
|
std::string indent (context.config.getInteger ("indent.report"), ' ');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue