Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/request/lib/har.js')
-rw-r--r--node_modules/request/lib/har.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/node_modules/request/lib/har.js b/node_modules/request/lib/har.js
index 2f660309d..0dedee444 100644
--- a/node_modules/request/lib/har.js
+++ b/node_modules/request/lib/har.js
@@ -172,7 +172,7 @@ Har.prototype.options = function (options) {
req.postData.params.forEach(function (param) {
var attachment = {}
- if (!param.fileName && !param.fileName && !param.contentType) {
+ if (!param.fileName && !param.contentType) {
options.formData[param.name] = param.value
return
}