Skip to content

Commit 4cf19ad

Browse files
geekjasnell
authored andcommitted
util: Remove exec, has been deprecated for years
PR-URL: #2530 Reviewed-By: Brian White <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent e4e5b13 commit 4cf19ad

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

‎lib/util.js‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -838,11 +838,6 @@ function hasOwnProperty(obj, prop){
838838

839839
// Deprecated old stuff.
840840

841-
exports.exec=internalUtil.deprecate(function(){
842-
returnrequire('child_process').exec.apply(this,arguments);
843-
},'util.exec is deprecated. Use child_process.exec instead.');
844-
845-
846841
exports.print=internalUtil.deprecate(function(){
847842
for(vari=0,len=arguments.length;i<len;++i){
848843
process.stdout.write(String(arguments[i]));

0 commit comments

Comments
(0)