Skip to content

Commit 8a0e640

Browse files
committedJul 23, 2024··
fix: remove unnecessary if
1 parent 87dd58d commit 8a0e640

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed
 

‎style.go

+1-3
Original file line numberDiff line numberDiff line change
@@ -307,9 +307,7 @@ func (s Style) Render(strs ...string) string {
307307
te = te.Underline()
308308
}
309309
if reverse {
310-
if reverse {
311-
teWhitespace = teWhitespace.Reverse()
312-
}
310+
teWhitespace = teWhitespace.Reverse()
313311
te = te.Reverse()
314312
}
315313
if blink {

0 commit comments

Comments
 (0)
Please sign in to comment.