Skip to content

Commit cbb77e0

Browse files
committed
Fixes #50. Default function argument value is not supported in Node 4 and 5. Although this package no longer supports Node 4 or 5, this seems like a harmless update.
1 parent 608b8e1 commit cbb77e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ function processMultipart(options, req, res, next) {
134134
data: buf,
135135
encoding: encoding,
136136
mimetype: mime,
137-
mv: function(path, callback = null) {
137+
mv: function(path, callback) {
138138
// Callback is passed in, use the callback API
139139
if (callback) {
140140
doMove(

0 commit comments

Comments
 (0)