Skip to content

Commit

Permalink
fix colorFor return
Browse files Browse the repository at this point in the history
  • Loading branch information
OstlerDev committed Sep 17, 2024
1 parent 106e5bb commit 8a0ee0b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions standard-output.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package logger

import (
"encoding/json"
"fmt"
"os"
"strings"
Expand Down Expand Up @@ -121,7 +120,7 @@ func (sw *StandardWriter) getColorFor(packageName string) string {
return ""
}
// Existing color selection logic
return colorFor(string);
return colorFor(packageName)
}

func (sw *StandardWriter) resetCode() string {
Expand Down

0 comments on commit 8a0ee0b

Please sign in to comment.