Skip to content

Commit

Permalink
fix lint.
Browse files Browse the repository at this point in the history
Signed-off-by: Ville Aikas <[email protected]>
  • Loading branch information
vaikas committed Apr 6, 2024
1 parent f792196 commit 367eb75
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion bincapz_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,6 @@ func TestDiff(t *testing.T) {
logger := clog.New(slog.Default().Handler()).With("src", tc.src)
ctx := clog.WithLogger(context.Background(), logger)
res, err := action.Diff(ctx, bc)

if err != nil {
t.Fatalf("diff failed: %v", err)
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/render/terminal.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ type tableConfig struct {
DiffAdded bool
}

func forceWrap(ctx context.Context, s string, x int) string {
func forceWrap(_ context.Context, s string, x int) string {
words, _ := tablewriter.WrapString(s, x)
fw := []string{}
for _, w := range words {
Expand Down

0 comments on commit 367eb75

Please sign in to comment.