Skip to content

Commit 984b3c9

Browse files
ZYSzystargos
authored andcommitted
http2: remove duplicated assertIsObject
PR-URL: #30541 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent a8e40a9 commit 984b3c9

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

‎lib/internal/http2/core.js‎

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

29562956
functioncreateSecureServer(options,handler){
2957-
assertIsObject(options,'options');
29582957
returnnewHttp2SecureServer(options,handler);
29592958
}
29602959

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

0 commit comments

Comments
 (0)