Commit 1d3e6b5a authored by Jon Pugh's avatar Jon Pugh

Make the terminal character a constant.

parent 2863600d
......@@ -17,6 +17,7 @@ class ProvisionStyle extends DrupalStyle {
protected $input;
protected $lineLength;
const TERMINAL_COMMAND_INDICATOR = '$';
public function __construct(InputInterface $input, OutputInterface $output)
{
......@@ -32,7 +33,7 @@ class ProvisionStyle extends DrupalStyle {
public function commandBlock($message) {
$this->autoPrependBlock();
$this->customLite($message, '<fg=yellow>$</>', '');
$this->customLite($message, '<fg=yellow>' . self::TERMINAL_COMMAND_INDICATOR . '</>', '');
}
public function outputBlock($message) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment