diff --git a/lib/internal/util.js b/lib/internal/util.js index 38c63390df922e..c507c493d1ee3a 100644 --- a/lib/internal/util.js +++ b/lib/internal/util.js @@ -24,13 +24,6 @@ function objectToString(o) { // Returns a modified function which warns once by default. // If --no-deprecation is set, then it is a no-op. function deprecate(fn, msg, code) { - // Allow for deprecating things in the process of starting up. - if (global.process === undefined) { - return function(...args) { - return deprecate(fn, msg).apply(this, args); - }; - } - if (process.noDeprecation === true) { return fn; }