Skip to content

Commit

Permalink
Revert "lib: remove duplicated noop function"
Browse files Browse the repository at this point in the history
This reverts commit 1ec4f8d.

PR-URL: #25446
Reviewed-By: Anna Henningsen <[email protected]>
  • Loading branch information
joyeecheung authored and addaleax committed Jan 14, 2019
1 parent 577da83 commit d7d772b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/internal/bootstrap/node.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@
// so these are now deprecated non-ops that can be removed after one
// major release cycle.
if (process.platform === 'win32') {
function noop() {}
const names = [
'NET_SERVER_CONNECTION',
'NET_SERVER_CONNECTION_CLOSE',
Expand Down

0 comments on commit d7d772b

Please sign in to comment.