From 529b0c04cff0e8064757a30e724349fa8daee60d Mon Sep 17 00:00:00 2001 From: gengjiawen Date: Sat, 23 Feb 2019 20:16:34 +0800 Subject: [PATCH] http2: refactor deprecated method in core.js MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/26275 Reviewed-By: Anna Henningsen Reviewed-By: Ruben Bridgewater Reviewed-By: Colin Ihrig Reviewed-By: Tobias Nießen Reviewed-By: Luigi Pinca --- lib/internal/http2/core.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/internal/http2/core.js b/lib/internal/http2/core.js index e329843df5ac65..21f780c733d931 100644 --- a/lib/internal/http2/core.js +++ b/lib/internal/http2/core.js @@ -1761,8 +1761,7 @@ class Http2Stream extends Duplex { } [kProceed]() { - assert.fail(null, null, - 'Implementors MUST implement this. Please report this as a ' + + assert.fail('Implementors MUST implement this. Please report this as a ' + 'bug in Node.js'); }