mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
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:
1 parent
577da835d2
commit
d7d772b2f8
1 file changed
+1
@@ -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',
|
||||
|
||||
Reference in new issue
Block a user