Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
aymanbagabas committed Apr 14, 2023
1 parent e029866 commit b57cbb1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion color.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func ConvertToRGB(c Color) colorful.Color {
}

// Sequence returns the ANSI Sequence for the color.
func (c NoColor) Sequence(bg bool) string {
func (c NoColor) Sequence(_ bool) string {
return ""
}

Expand Down
2 changes: 1 addition & 1 deletion termenv_unix.go
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,6 @@ func (o Output) termStatusReport(sequence int) (string, error) {
// Windows for w and returns a function that restores w to its previous state.
// On non-Windows platforms, or if w does not refer to a terminal, then it
// returns a non-nil no-op function and no error.
func EnableVirtualTerminalProcessing(w io.Writer) (func() error, error) {
func EnableVirtualTerminalProcessing(_ io.Writer) (func() error, error) {
return func() error { return nil }, nil
}

0 comments on commit b57cbb1

Please sign in to comment.