We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
3 parents d04f738 + f06b0d8 + 7020dd4 commit d53265dCopy full SHA for d53265d
1 file changed
lib/form_data.js
@@ -319,7 +319,7 @@ FormData.prototype.getBoundary = function() {
319
};
320
321
FormData.prototype.getBuffer = function() {
322
- var dataBuffer = new Buffer.alloc( 0 );
+ var dataBuffer = new Buffer.alloc(0);
323
var boundary = this.getBoundary();
324
325
// Create the form content. Add Line breaks to the end of data.
0 commit comments