Skip to content

Commit 468ccac

Browse files
joyeecheungBridgeAR
authored andcommitted
Revert "lib: remove duplicated noop function"
This reverts commit 1ec4f8d. PR-URL: nodejs#25446 Reviewed-By: Anna Henningsen <anna@addaleax.net>
1 parent 55d4d13 commit 468ccac

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/internal/bootstrap/node.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,7 @@
199199
// so these are now deprecated non-ops that can be removed after one
200200
// major release cycle.
201201
if (process.platform === 'win32') {
202+
function noop() {}
202203
const names = [
203204
'NET_SERVER_CONNECTION',
204205
'NET_SERVER_CONNECTION_CLOSE',

0 commit comments

Comments
 (0)