Skip to content

Commit

Permalink
Fixes #50. Default function argument value is not supported in Node 4…
Browse files Browse the repository at this point in the history
… and 5. Although this package no longer supports Node 4 or 5, this seems like a harmless update.
  • Loading branch information
richardgirges committed Oct 7, 2017
1 parent 608b8e1 commit cbb77e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ function processMultipart(options, req, res, next) {
data: buf,
encoding: encoding,
mimetype: mime,
mv: function(path, callback = null) {
mv: function(path, callback) {
// Callback is passed in, use the callback API
if (callback) {
doMove(
Expand Down

0 comments on commit cbb77e0

Please sign in to comment.