You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Node flags like --eval and --print work with --require allowing module(s) to be loaded before evaling or printing to enable prerequisite scripts to be run. However, --check doesn't work with --require when specifying a filename. It would be nice if it was possible. The relevant bits look to be
Node flags like
--eval
and--print
work with--require
allowing module(s) to be loaded before evaling or printing to enable prerequisite scripts to be run. However,--check
doesn't work with--require
when specifying a filename. It would be nice if it was possible. The relevant bits look to benode/lib/internal/bootstrap_node.js
Lines 179 to 187 in 7809f38
Update:
I noticed that using pipes I can use
--require
with--check
for stdin.Related to #11680, #11689.
The text was updated successfully, but these errors were encountered: