Skip to content

Commit d52ff58

Browse files
authored
Merge pull request #72 from osher/patch-4
middleware chain is broken when found ctx.output
2 parents ee7b01c + ac6dad9 commit d52ff58

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/connect_middleware.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,9 @@ function Middleware(runner) {
8989

9090
debugContent('sending response body: %s', body);
9191
response.end(body);
92-
} else {
93-
next();
94-
}
92+
}
93+
94+
next();
9595
}
9696
catch (err) {
9797
/* istanbul ignore next */

0 commit comments

Comments
 (0)