Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
Signed-off-by: cpanato <ctadeu@gmail.com>
  • Loading branch information
cpanato committed Dec 30, 2024
1 parent d9a90e0 commit caf1a42
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion command/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ type filter struct {
}

// A generic command exit status.
type Status struct {
type Status struct { //nolint: errname
waitStatus syscall.WaitStatus
*Stream
}
Expand Down
2 changes: 1 addition & 1 deletion http/example_multi_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func Example() {

defer func() {
for i := range w {
w[i].(*os.File).Close()
w[i].(*os.File).Close() //nolint: errcheck
}
}()

Expand Down

0 comments on commit caf1a42

Please sign in to comment.