From df1a19ff331590d94b4ab8d008653ee554cb52ce Mon Sep 17 00:00:00 2001 From: Wyatt Preul Date: Mon, 24 Aug 2015 16:44:42 -0500 Subject: [PATCH] util: Remove exec, has been deprecated for years --- lib/util.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/util.js b/lib/util.js index c5d7bea7db352d..9f9866d60237d4 100644 --- a/lib/util.js +++ b/lib/util.js @@ -760,11 +760,6 @@ exports.p = internalUtil.deprecate(function() { }, '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.'); - - exports.print = internalUtil.deprecate(function() { for (var i = 0, len = arguments.length; i < len; ++i) { process.stdout.write(String(arguments[i]));