Skip to content

Commit ea0a4de

Browse files
committed
[fix] style spacing wtf
1 parent 8a8a894 commit ea0a4de

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/http-proxy/passes/web-incoming.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -145,13 +145,13 @@ web_o = Object.keys(web_o).map(function(pass) {
145145
proxyReq.on('response', function(proxyRes) {
146146
if(server) { server.emit('proxyRes', proxyRes, req, res); }
147147
for(var i=0; i < web_o.length; i++) {
148-
if(web_o[i](req, res, proxyRes, options)) { break; }
148+
if(web_o[i](req, res, proxyRes, options)) { break; }
149149
}
150150

151151
// Allow us to listen when the proxy has completed
152152
proxyRes.on('end', function () {
153-
server.emit('end', req, res, proxyRes);
154-
})
153+
server.emit('end', req, res, proxyRes);
154+
});
155155

156156
proxyRes.pipe(res);
157157
});

0 commit comments

Comments
 (0)