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

Commit ea86f03

Browse files
addaleaxjasnell
authored andcommitted
lib: fix typo in stream_base_commons.js
Introduced in aa99a6a. PR-URL: #149 Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 142ee34 commit ea86f03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/stream_base_commons.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ function afterWriteDispatched(self, req, err) {
149149
if (err !== 0)
150150
return self.destroy(
151151
errnoException(err, 'write', req.error),
152-
req.callback());
152+
req.callback);
153153

154154
if (!req.async && typeof req.callback === 'function') {
155155
req.callback();

0 commit comments

Comments
 (0)