Skip to content

Add file listing with a flag in the non-terminal mode #5622

@stereoreader

Description

@stereoreader

What problem does this feature solve?

For vue-tsc I had to emulate a terminal in my node script to get the file listing with TS errors. It wasn't trivial but I managed it working.

Now after upgrading node to v24.5 I have:

(node:41288) [DEP0190] DeprecationWarning: Passing args to a child process with shell option true can lead to security vulnerabilities, as the arguments are not escaped, only concatenated.
(Use `node --trace-deprecation ...` to show where the warning was created)

and the script stopped to produce any output, since no file summary is in the vue-tsc's output.

What does the proposed solution look like?

Can we have some flag to produce the file listing in a pipe mode?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions