From 2a8f8a42c0b7d443d4345577499da66930110e76 Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Mon, 23 Jan 2017 23:55:15 +0330 Subject: [PATCH] Use appreciate depreciation message --- src/node.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node.js b/src/node.js index 599da95c..4fa564b0 100644 --- a/src/node.js +++ b/src/node.js @@ -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 :