Skip to content

Commit

Permalink
https://github.com/danwrong/restler/issues/250
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Jedich committed Mar 4, 2018
1 parent ed1e6fc commit 3582a15
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/multipartform.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,9 @@ Part.prototype = {
stream.write("\r\n");
callback();
fs.close(fd, function(err) {
callback(err);
if (err != null) {
callback(err);
}
});
}
});
Expand Down

0 comments on commit 3582a15

Please sign in to comment.