Skip to content

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also .

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also .
...
Checking mergeability… Don’t worry, you can still create the pull request.
  • 1 commit
  • 1 file changed
  • 0 commit comments
  • 1 contributor
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/multipartform.js
View
2 lib/multipartform.js
@@ -87,6 +87,8 @@ Part.prototype = {
valueSize = this.value.fileSize;
} else if (this.value.data) {
valueSize = this.value.data.length;
+ } else if (typeof this.value === 'number') {
+ valueSize = this.value.toString().length;
} else {
valueSize = this.value.length;
}

No commit comments for this range

Something went wrong with that request. Please try again.