Skip to content

Commit

Permalink
Use appreciate depreciation message
Browse files Browse the repository at this point in the history
  • Loading branch information
Pooya Parsa committed Jan 23, 2017
1 parent 5350863 commit 2a8f8a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node.js
Expand Up @@ -61,7 +61,7 @@ exports.inspectOpts = Object.keys(process.env).filter(function (key) {
var fd = parseInt(process.env.DEBUG_FD, 10) || 2;

if (1 !== fd && 2 !== fd) {
util.deprecate(function(){}, '`DEBUG_FD` is deprecated. Override `debug.log` if you want to use a different log function (https://git.io/debug_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)')()
}

var stream = 1 === fd ? process.stdout :
Expand Down

0 comments on commit 2a8f8a4

Please sign in to comment.