Skip to content

Commit

Permalink
Add and fix exhaustive
Browse files Browse the repository at this point in the history
  • Loading branch information
kradalby committed Nov 14, 2021
1 parent 0315f55 commit 19cd7a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ linters:
- forbidigo
- dupl
- goconst
- exhaustive
- varnamelen

# We might want to enable this, but it might be a lot of work
Expand Down
2 changes: 2 additions & 0 deletions cmd/headscale/headscale.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ func main() {
colors = true
case termcolor.LevelBasic:
colors = true
case termcolor.LevelNone:
colors = false
default:
// no color, return text as is.
colors = false
Expand Down

0 comments on commit 19cd7a4

Please sign in to comment.