Skip to content

Commit

Permalink
chore: fixing filters
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Jones <alexsimonjones@gmail.com>
  • Loading branch information
AlexsJones committed Apr 11, 2023
1 parent 4d20f70 commit 258c69a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion cmd/filters/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,12 @@ var listCmd = &cobra.Command{
if len(inactiveFilters) != 0 {
fmt.Printf(color.YellowString("Unused: \n"))
for _, filter := range inactiveFilters {
fmt.Printf("> %s\n", color.RedString(filter))
// if the filter is an integration, mark this differently
if util.SliceContainsString(integrationFilters, filter) {
fmt.Printf("> %s\n", color.BlueString("%s (integration)\n", filter))
} else {
fmt.Printf("> %s\n", color.RedString(filter))
}
}
}

Expand Down

0 comments on commit 258c69a

Please sign in to comment.