rtk-ai/rtk

fix: extra blank lines in gradle output

Closed

#372 opened on Mar 6, 2026

 (1 comment) (0 reactions) (0 assignees)Rust (2,914 forks)batch import
P3-nice-to-havearea:clibugeffort-smallfilter-qualitygood first issuepriority:low

Repository metrics

Stars
 (48,085 stars)
PR merge metrics
 (Avg merge 11d 1h) (45 merged PRs in 30d)

Description

When running rtk gradle, the filtered output includes extra blank lines:

  1. Leading blank lines at the start of output
  2. Extra newline when stderr is empty (stdout + '\n' + empty stderr)

Expected: Clean output without leading/trailing blank lines. Actual: Extra blank lines appear in filtered output.

Contributor guide