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
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Whitelist DEBUG_FD for values 1 and 2 only Fixes#410 (#415)
Browse filesBrowse the repository at this point in the history
* Hide in DEBUG_FD deprecation warning in Webstorm Fixes#410
+ Intellij idea
* Hide in DEBUG_FD deprecation warning in Webstorm Fixes#410
* whitelist DEBUG_FD for values 1 and 2 only
* Use appreciate depreciation message
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
util.deprecate(function(){},'`DEBUG_FD` is deprecated. Override `debug.log` if you want to use a different log function (https://git.io/vMUyr)')()
varfd=parseInt(process.env.DEBUG_FD,10)||2;
if(1!==fd&&2!==fd){
util.deprecate(function(){},'except for stderr(2) and stdout(1), any other usage of DEBUG_FD is deprecated. Override debug.log if you want to use a different log function (https://git.io/debug_fd)')()