summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorWyatt Preul <wpreul@gmail.com>2015-08-24 16:40:38 -0500
committerMichaƫl Zasso <mic.besace@gmail.com>2015-10-19 20:52:56 +0200
commit8b4adb267b9320c78e1508b1c973efd256e15b21 (patch)
treee4279434d2da0b0e462f2be5cc028ed13fd89661 /lib
parentf875c73325a10f25b7d910901d036548bb8538fe (diff)
downloadnode-new-8b4adb267b9320c78e1508b1c973efd256e15b21.tar.gz
util: Remove p, has been deprecated for years
Update deprecation test to use another method. Ref: https://github.com/nodejs/node/pull/2529 PR-URL: https://github.com/nodejs/node/pull/3432 Reviewed-By: Brian White <mscdex@mscdex.net> Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/util.js7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/util.js b/lib/util.js
index 399a4ee0a2..19d3d464f1 100644
--- a/lib/util.js
+++ b/lib/util.js
@@ -790,13 +790,6 @@ function hasOwnProperty(obj, prop) {
// Deprecated old stuff.
-exports.p = internalUtil.deprecate(function() {
- for (var i = 0, len = arguments.length; i < len; ++i) {
- console.error(exports.inspect(arguments[i]));
- }
-}, 'util.p is deprecated. Use console.error instead.');
-
-
exports.exec = internalUtil.deprecate(function() {
return require('child_process').exec.apply(this, arguments);
}, 'util.exec is deprecated. Use child_process.exec instead.');