Skip to content

Commit d7d772b

Browse files
joyeecheungaddaleax
authored andcommitted
Revert "lib: remove duplicated noop function"
This reverts commit 1ec4f8d. PR-URL: #25446 Reviewed-By: Anna Henningsen <anna@addaleax.net>
1 parent 577da83 commit d7d772b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/internal/bootstrap/node.js

+1
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)