Skip to content

Commit

Permalink
fix basicAuth/matchHeader interceptors with isomorphic-fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
unstubbable committed Feb 9, 2017
1 parent 26b2610 commit 933cbad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/common.js
Expand Up @@ -311,7 +311,7 @@ function matchStringOrRegexp(target, pattern) {
if (pattern instanceof RegExp) {
return target.toString().match(pattern);
} else {
return target === pattern;
return target.toString() === pattern;
}
}

Expand Down

0 comments on commit 933cbad

Please sign in to comment.