for a var to string => print the gitlab key
This commit is contained in:
parent
62517c794e
commit
36eda66b83
1 changed files with 5 additions and 0 deletions
|
|
@ -201,6 +201,11 @@ class CdEnvVariable implements \Stringable
|
|||
// * TOP ROW
|
||||
$printStr = $printStr->append(\str_pad(" VAR `{$this->key}` ", $rowLength, '_', \STR_PAD_BOTH))->newLine();
|
||||
|
||||
$printStr = $printStr->append(\str_pad('key', $titlePad, pad_type: \STR_PAD_LEFT))
|
||||
->append(' => ')->append('`')
|
||||
->append($this->getFormatedGitlabKey())
|
||||
->append('`')->newLine();
|
||||
|
||||
$printStr = $printStr->append(\str_pad('value', $titlePad, pad_type: \STR_PAD_LEFT))
|
||||
->append(' => ');
|
||||
$value = $this->masked ? '*********' : $this->value;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue