Skip to content

Commit

Permalink
remove an unused method
Browse files Browse the repository at this point in the history
  • Loading branch information
evanw committed Sep 13, 2023
1 parent a111cc4 commit f702f6b
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions internal/logger/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -262,13 +262,6 @@ func (p Path) IsDisabled() bool {
return (p.Flags & PathDisabled) != 0
}

func (a Path) ComesBeforeInSortedOrder(b Path) bool {
return a.Namespace > b.Namespace ||
(a.Namespace == b.Namespace && (a.Text < b.Text ||
(a.Text == b.Text && (a.Flags < b.Flags ||
(a.Flags == b.Flags && a.IgnoredSuffix < b.IgnoredSuffix)))))
}

var noColorResult bool
var noColorOnce sync.Once

Expand Down

0 comments on commit f702f6b

Please sign in to comment.