Skip to content

Commit 1b84175

Browse files
ZYSzysMylesBorins
authored andcommitted
http2: remove duplicated assertIsObject
PR-URL: #30541 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
1 parent 45e5730 commit 1b84175

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/internal/http2/core.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2932,7 +2932,6 @@ Object.defineProperty(connect, promisify.custom, {
29322932
});
29332933

29342934
function createSecureServer(options, handler) {
2935-
assertIsObject(options, 'options');
29362935
return new Http2SecureServer(options, handler);
29372936
}
29382937

@@ -2941,7 +2940,6 @@ function createServer(options, handler) {
29412940
handler = options;
29422941
options = {};
29432942
}
2944-
assertIsObject(options, 'options');
29452943
return new Http2Server(options, handler);
29462944
}
29472945

0 commit comments

Comments
 (0)