-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
Closed
Labels
feature requestIssues that request new features to be added to Node.js.Issues that request new features to be added to Node.js.processIssues and PRs related to the process subsystem.Issues and PRs related to the process subsystem.
Description
As an end-user, I don't want to ever see warnings or deprecations. However, when node is invoked from a shell script via a shebang, there is no opportunity to pass the --no-warnings
option to the process.
#!/usr/bin/env node --no-warnings
console.log("you will never get this far, so it doesn't matter if this compiles");
Is there an environment variable that can be set to toggle this option? If not, please add support for something like NODE_NO_WARNINGS=1
.
cedx, pgilad, mnpenner, kaxi1993, hexrcs and 12 more
Metadata
Metadata
Assignees
Labels
feature requestIssues that request new features to be added to Node.js.Issues that request new features to be added to Node.js.processIssues and PRs related to the process subsystem.Issues and PRs related to the process subsystem.