From 106dd1e345bcaa2f73ba7120a1163f8c6a021633 Mon Sep 17 00:00:00 2001 From: Robin Neatherway Date: Wed, 30 Jan 2019 12:55:54 -0500 Subject: lib: fix a few minor issues flagged by lgtm * Confusing (but correct) regex using `A-z` character range by accident * Add the status argument to afterShutdown PR-URL: https://github.com/nodejs/node/pull/25873 Reviewed-By: Refael Ackermann Reviewed-By: Anna Henningsen Reviewed-By: Sam Roberts --- lib/internal/http2/core.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/internal/http2/core.js b/lib/internal/http2/core.js index b78ecaf5ee..8e84eadbff 100644 --- a/lib/internal/http2/core.js +++ b/lib/internal/http2/core.js @@ -1515,7 +1515,8 @@ function streamOnPause() { this[kHandle].readStop(); } -function afterShutdown() { +function afterShutdown(status) { + // Currently this status value is unused this.callback(); const stream = this.handle[kOwner]; if (stream) -- cgit v1.2.3