Skip to content
This repository has been archived by the owner on Aug 11, 2020. It is now read-only.

Commit

Permalink
lib: fix typo in stream_base_commons.js
Browse files Browse the repository at this point in the history
Introduced in aa99a6a.

PR-URL: #149
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
addaleax authored and jasnell committed Oct 3, 2019
1 parent 07bdfdf commit b587abb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/internal/stream_base_commons.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ function afterWriteDispatched(self, req, err) {
if (err !== 0)
return self.destroy(
errnoException(err, 'write', req.error),
req.callback());
req.callback);

if (!req.async && typeof req.callback === 'function') {
req.callback();
Expand Down

0 comments on commit b587abb

Please sign in to comment.