From d7d772b2f8e19ebe8d8921082d07b00eeb6d37a3 Mon Sep 17 00:00:00 2001 From: Joyee Cheung Date: Fri, 11 Jan 2019 22:37:12 +0800 Subject: [PATCH] Revert "lib: remove duplicated noop function" This reverts commit 1ec4f8dc3dec84f136393784113a8445b23e26bc. PR-URL: https://github.com/nodejs/node/pull/25446 Reviewed-By: Anna Henningsen --- lib/internal/bootstrap/node.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/internal/bootstrap/node.js b/lib/internal/bootstrap/node.js index 9f93d191d8e3e3..220b706d7c9b0d 100644 --- a/lib/internal/bootstrap/node.js +++ b/lib/internal/bootstrap/node.js @@ -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',