Revert "lib: remove duplicated noop function"

This reverts commit 1ec4f8dc3d.

PR-URL: https://github.com/nodejs/node/pull/25446
Reviewed-By: Anna Henningsen <anna@addaleax.net>
This commit is contained in:
Joyee Cheung authored and Anna Henningsen committed 2019-01-14 13:58:07 +01:00
1 parent 577da835d2
commit d7d772b2f8
1 file changed
+1
+1
View File
@@ -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',