Skip to content

Commit

Permalink
fix error when route hadn't mocked
Browse files Browse the repository at this point in the history
  • Loading branch information
A committed May 14, 2015
1 parent b36ba07 commit cca3f5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function match(method, url, data) {
return callbacks.reduce(function(memo, cb) {
var m = cb.match(method, url, data);
return m ? m : memo;
}, {});
}, null);
}

/**
Expand Down

0 comments on commit cca3f5c

Please sign in to comment.