diff options
author | Robin Neatherway <robin.neatherway@gmail.com> | 2019-01-30 12:55:54 -0500 |
---|---|---|
committer | Refael Ackermann <refack@gmail.com> | 2019-02-06 11:09:29 -0500 |
commit | 106dd1e345bcaa2f73ba7120a1163f8c6a021633 (patch) | |
tree | f041c5497af4305835b349d1a281b83fe2ca2f98 /lib | |
parent | 91adbe14b4490483785e1cd094c1130278cd25f3 (diff) | |
download | android-node-v8-106dd1e345bcaa2f73ba7120a1163f8c6a021633.tar.gz android-node-v8-106dd1e345bcaa2f73ba7120a1163f8c6a021633.tar.bz2 android-node-v8-106dd1e345bcaa2f73ba7120a1163f8c6a021633.zip |
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 <refack@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/internal/http2/core.js | 3 |
1 files changed, 2 insertions, 1 deletions
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) |