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: handle execution in non tty #14

Merged
merged 1 commit into from
Sep 11, 2024
Merged

Conversation

kazushisan
Copy link
Contributor

process.stdout.clearLine always exists under the type definition of @types/node. However, this method does not exist when node is executed under a non-tty environment resulting in a runtime error.

This PR patches the types and will prevent the tool from exiting with an error when it's executed in non-tty environments.

@kazushisan kazushisan added the bug Something isn't working label Sep 11, 2024
@kazushisan kazushisan self-assigned this Sep 11, 2024
@kazushisan kazushisan merged commit 64ea08f into main Sep 11, 2024
1 check passed
@kazushisan kazushisan deleted the fix/execution-in-non-tty branch September 16, 2024 07:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant