Skip to content

Commit 984b3c9

Browse files
ZYSzystargos
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 a8e40a9 commit 984b3c9

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/internal/http2/core.js

-2
Original file line numberDiff line numberDiff line change
@@ -2954,7 +2954,6 @@ Object.defineProperty(connect, promisify.custom, {
29542954
});
29552955

29562956
function createSecureServer(options, handler) {
2957-
assertIsObject(options, 'options');
29582957
return new Http2SecureServer(options, handler);
29592958
}
29602959

@@ -2963,7 +2962,6 @@ function createServer(options, handler) {
29632962
handler = options;
29642963
options = {};
29652964
}
2966-
assertIsObject(options, 'options');
29672965
return new Http2Server(options, handler);
29682966
}
29692967

0 commit comments

Comments
 (0)