Skip to content

fix: pass empty string to rl.write in repl finally block (W-22295448)#3721

Open
heroku-johnny wants to merge 1 commit into
mainfrom
w-22295448
Open

fix: pass empty string to rl.write in repl finally block (W-22295448)#3721
heroku-johnny wants to merge 1 commit into
mainfrom
w-22295448

Conversation

@heroku-johnny
Copy link
Copy Markdown
Contributor

@heroku-johnny heroku-johnny commented May 21, 2026

Summary

Fixes a TypeError thrown by rl.write(null, ...) in the REPL's finally block. Node's readline/promises interface requires a string as the first argument.

Type of Change

[X] fix: Bug fix

Testing

  1. Passing CI suffices.
    or
  2. If you want to exercise it end-to-end in the actual REPL:

Build first

npm run build

Launch the REPL

./bin/run repl

Then at the heroku > prompt, run any valid command (e.g. apps:info --app ), and prompt returns cleanly

Related Issues

Github Issue: #3684
GUS work item: W-22295448

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@heroku-johnny heroku-johnny requested a review from a team as a code owner May 21, 2026 22:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant