Skip to content

Commit 905988a

Browse files
gengjiawenBridgeAR
authored andcommitted
http2: refactor deprecated method in core.js
PR-URL: #26275 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent c8db22d commit 905988a

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

lib/internal/http2/core.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1758,8 +1758,7 @@ class Http2Stream extends Duplex {
17581758
}
17591759

17601760
[kProceed]() {
1761-
assert.fail(null, null,
1762-
'Implementors MUST implement this. Please report this as a ' +
1761+
assert.fail('Implementors MUST implement this. Please report this as a ' +
17631762
'bug in Node.js');
17641763
}
17651764

0 commit comments

Comments
 (0)