Skip to content

Commit b3c6e5d

Browse files
committed
fix(standard): remove un-necessary .call
1 parent 4933b46 commit b3c6e5d

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -66,22 +66,22 @@
6666
]
6767
},
6868
"devDependencies": {
69-
"codeclimate-test-reporter": "0.0.4",
70-
"echint": "^1.1.1",
71-
"glob": "^5.0.10",
72-
"istanbul": "^0.3.14",
69+
"codeclimate-test-reporter": "0.1.0",
70+
"echint": "^1.5.0",
71+
"glob": "^5.0.14",
72+
"istanbul": "^0.3.17",
7373
"mocha": "^2.2.5",
74-
"should": "^6.0.3",
75-
"standard": "^3.11.1"
74+
"should": "^7.0.2",
75+
"standard": "^5.0.0"
7676
},
7777
"dependencies": {
78-
"bluebird": "^2.9.26",
79-
"chalk": "^1.0.0",
78+
"bluebird": "^2.9.34",
79+
"chalk": "^1.1.0",
8080
"commander": "^2.8.1",
8181
"debug": "^2.2.0",
8282
"event-stream": "^3.3.1",
83-
"form-data": "^0.2.0",
84-
"har-validator": "^1.7.1",
85-
"require-directory": "^2.1.0"
83+
"form-data": "^1.0.0-rc3",
84+
"har-validator": "^1.8.0",
85+
"require-directory": "^2.1.1"
8686
}
8787
}

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ HTTPSnippet.prototype.convert = function (target, client, opts) {
195195

196196
if (func) {
197197
var results = this.requests.map(function (request) {
198-
return func.call(null, request, opts)
198+
return func(request, opts)
199199
})
200200

201201
return results.length === 1 ? results[0] : results

0 commit comments

Comments
 (0)