Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix test where CLI output is cutoff at 8192 bytes #477

Merged
merged 2 commits into from
Sep 19, 2023
Merged

Conversation

sorenlouv
Copy link
Owner

yargs will call process.exit after outputting the help section. When running backport as a child process and reading the output async, the exit command will be called before the full output is written. This can be prevented by calling .exitProcess(false)

@sorenlouv sorenlouv enabled auto-merge (squash) September 19, 2023 13:40
@sorenlouv sorenlouv merged commit a195a78 into main Sep 19, 2023
3 checks passed
@sorenlouv sorenlouv deleted the fix-cli-test branch September 19, 2023 14:36
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