diff --git a/lib/connect_middleware.js b/lib/connect_middleware.js index 8a4957a..6641c9b 100644 --- a/lib/connect_middleware.js +++ b/lib/connect_middleware.js @@ -84,7 +84,7 @@ function Middleware(runner) { }); } - if (!context.output) return next(); + if (!context.output) { return next(); } var contentType = response.getHeader('content-type'); if (!contentType) {