Skip to content

Commit

Permalink
m
Browse files Browse the repository at this point in the history
  • Loading branch information
komuw committed Mar 2, 2024
1 parent 1b4788c commit 809973f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stack.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ func stackp(w io.Writer, noColor bool) {
re := regexp.MustCompile(`\d:`) // this pattern is the one created in `readLastLine()`

traces := getStackTrace()
if len(traces) > 0 && (noColor == false) {
if len(traces) > 0 && (!noColor) {
printWithColor(
w,
noColor,
Expand Down

0 comments on commit 809973f

Please sign in to comment.