From 2760858171a17f6d00ffe08b8deec1f72b083ae8 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 --- 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 dcb1b22d448e0e..8ebcebfc8d2a2d 100644 --- a/lib/internal/http2/core.js +++ b/lib/internal/http2/core.js @@ -1758,8 +1758,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'); }