diff options
author | ZYSzys <zyszys98@gmail.com> | 2019-11-19 16:05:35 +0800 |
---|---|---|
committer | ZYSzys <zyszys98@gmail.com> | 2019-11-21 17:30:34 +0800 |
commit | a7c13cf53daa7ca024f46f70322bba5cc13f4a40 (patch) | |
tree | 57c7e36babe177af961d8def439f45f87cbb4867 /lib/internal/http2 | |
parent | 52e1bbde01e1f35b13a9a14a2d428fd318c7ef4a (diff) | |
download | android-node-v8-a7c13cf53daa7ca024f46f70322bba5cc13f4a40.tar.gz android-node-v8-a7c13cf53daa7ca024f46f70322bba5cc13f4a40.tar.bz2 android-node-v8-a7c13cf53daa7ca024f46f70322bba5cc13f4a40.zip |
http2: remove duplicated assertIsObject
PR-URL: https://github.com/nodejs/node/pull/30541
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'lib/internal/http2')
-rw-r--r-- | lib/internal/http2/core.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/internal/http2/core.js b/lib/internal/http2/core.js index 95ce8bcdb4..fded7067b5 100644 --- a/lib/internal/http2/core.js +++ b/lib/internal/http2/core.js @@ -2932,7 +2932,6 @@ Object.defineProperty(connect, promisify.custom, { }); function createSecureServer(options, handler) { - assertIsObject(options, 'options'); return new Http2SecureServer(options, handler); } @@ -2941,7 +2940,6 @@ function createServer(options, handler) { handler = options; options = {}; } - assertIsObject(options, 'options'); return new Http2Server(options, handler); } |