Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

matched is no more used

  • Loading branch information...
commit f45eef05142f9168ae665a8c529e397f26b6d091 1 parent b27bc38
Yohan Boniface yohanboniface authored
Showing with 1 addition and 3 deletions.
  1. +1 −3 casperserver.js
4 casperserver.js
View
@@ -84,11 +84,9 @@ Server.prototype._serve = function serve(request, response) {
}
// Handle response
- var matched = false,
- options = {};
+ var options = {};
for (var path in this.watchedPaths) {
if (request.url.search(path) !== -1) {
- matched = true;
options = this.watchedPaths[path];
this.log("Build response from watched path " + request.url);
break;
Please sign in to comment.
Something went wrong with that request. Please try again.