postman-collection
Advanced tools
Comparing version 0.4.9 to 0.4.10
@@ -57,3 +57,3 @@ var _ = require('../util').lodash, | ||
_.isString(options.file) && (file = { ref: file }); | ||
_.isString(options.file) && (file = { src: file }); | ||
@@ -142,2 +142,7 @@ // If mode is raw but options does not give raw content, set it to empty string | ||
if (mode === RequestBody.MODES.file) { | ||
// Handle file mode. | ||
return !(data.src || data.content); | ||
} | ||
return !data || !(_.isString(data) ? data.length : (_.isFunction(data.count) && data.count())); | ||
@@ -144,0 +149,0 @@ } |
@@ -5,3 +5,3 @@ { | ||
"author": "Postman Labs <help@getpostman.com>", | ||
"version": "0.4.9", | ||
"version": "0.4.10", | ||
"keywords": [ | ||
@@ -8,0 +8,0 @@ "postman" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
278699
6318