Skip to content

Commit

Permalink
Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
sahara-ooga committed May 20, 2022
1 parent 1eec4ef commit 7582ec5
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions Sources/Public/Pretty.swift
Original file line number Diff line number Diff line change
Expand Up @@ -306,12 +306,8 @@ extension Pretty {
) {
let plainString = printer(label, targets, separator, option)

let coloredOption: Option = {
var op = option
op.colored = true
return op
}()

var coloredOption = option
coloredOption.colored = true
let coloredString = printer(label, targets, separator, coloredOption)

// Console
Expand Down

0 comments on commit 7582ec5

Please sign in to comment.