Skip to content

Commit

Permalink
node_process: add emitWarning
Browse files Browse the repository at this point in the history
defunctzombie/node-process#84

Upstream seem to be inactive since 2017
  • Loading branch information
marcushultman committed Dec 26, 2021
1 parent 49a67ca commit 4cb2d5e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/embed/polyfills/node_process.js
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ process.removeAllListeners = noop;
process.emit = noop;
process.prependListener = noop;
process.prependOnceListener = noop;
process.emitWarning = noop;

process.listeners = function (name) { return [] }

Expand Down

0 comments on commit 4cb2d5e

Please sign in to comment.