Skip to content

Commit e8943c4

Browse files
committed
fix dist not build of 0.6.0
1 parent 20e37ee commit e8943c4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

dist/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,9 @@ var FetchMock = function () {
157157
}
158158
}, {
159159
key: 'fetch',
160-
value: function fetch(url, options) {
160+
value: function fetch(url) {
161+
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
162+
161163
// using proxy
162164
if (this.isProxied(url)) {
163165
url = this.proxied(url);

0 commit comments

Comments
 (0)