--check flag doesn't always prevent execution #11680
Labels
cli
Issues and PRs related to the Node.js command line interface.
confirmed-bug
Issues with confirmed bugs.
The node
--check
flag is supposed to check syntax and then stop. However, as currently implemented the--check
flag is ignored if the script to be checked is given via stdin or via-e
flag; and the script is executed regardless.For instance:
The text was updated successfully, but these errors were encountered: