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

Incomplete output when source files are large #27

Closed
legendecas opened this issue Sep 18, 2024 · 1 comment · Fixed by #28
Closed

Incomplete output when source files are large #27

legendecas opened this issue Sep 18, 2024 · 1 comment · Fixed by #28
Assignees

Comments

@legendecas
Copy link

Refs: nodejs/node#54994

When the source files are large, the outputs will be incomplete, like env.cc (81K) or node_contextify.cc (69K).

@magic-akari magic-akari self-assigned this Sep 19, 2024
@magic-akari
Copy link
Member

The solution is to avoid manually calling process.exit or to call it after stdout is flushed.

However, I now intend not to fix it this way.
Considering the maintenance costs, I'll directly compile the original clangFormat.cpp, which will ensure full support for the original CLI features.

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 a pull request may close this issue.

2 participants