Skip to content

Commit 5cb986f

Browse files
fix: fix terminal height issues causing test failures
1 parent e066097 commit 5cb986f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/cmd/cmdutil.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ func ShowJSONIterator[T any](stdout *os.File, title string, iter jsonview.Iterat
248248

249249
terminalWidth, terminalHeight, err := term.GetSize(os.Stdout.Fd())
250250
if err != nil {
251-
return err
251+
terminalHeight = 100
252252
}
253253

254254
// Decide whether or not to use a pager based on whether it's a short output or a long output

0 commit comments

Comments
 (0)