Skip to content

Commit 8098c71

Browse files
committed
if option is true, not only if it is set
1 parent 276d84d commit 8098c71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/jblond/Diff/Renderer/Text/UnifiedCli.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public function render(): string
6565
*/
6666
private function colorizeString($string, $color = ''): string
6767
{
68-
if (isset($this->options['cliColor'])) {
68+
if ($this->options['cliColor']) {
6969
return $this->colors->getColoredString($string, $color);
7070
}
7171
return $string;

0 commit comments

Comments
 (0)