From 689459fe46885a1b3b8e32a4df55f2d1339143e5 Mon Sep 17 00:00:00 2001 From: yawnt Date: Fri, 17 Jan 2014 22:18:54 +0100 Subject: [PATCH] typo --- lib/http-proxy/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/http-proxy/index.js b/lib/http-proxy/index.js index 97f71a9ff..3ba09cd47 100644 --- a/lib/http-proxy/index.js +++ b/lib/http-proxy/index.js @@ -69,7 +69,7 @@ function createRightProxy(type) { options[e] = parse_url(options[e]); }); - if(typeof this.emit == 'undefined' && !cbl) { throw new Error("You need to pass a callback to handle errors") } + if(typeof this.emit === 'undefined' && !cbl) { throw new Error("You need to pass a callback to handle errors") } for(var i=0; i < passes.length; i++) { /**