summaryrefslogtreecommitdiff
path: root/lib/internal/http2
diff options
context:
space:
mode:
authorZYSzys <zyszys98@gmail.com>2019-11-19 16:05:35 +0800
committerZYSzys <zyszys98@gmail.com>2019-11-21 17:30:34 +0800
commita7c13cf53daa7ca024f46f70322bba5cc13f4a40 (patch)
tree57c7e36babe177af961d8def439f45f87cbb4867 /lib/internal/http2
parent52e1bbde01e1f35b13a9a14a2d428fd318c7ef4a (diff)
downloadandroid-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.js2
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);
}