Skip to content

Commit 25782a3

Browse files
committed
Trying workarounds for formidable - 0.6 "love".
1 parent b614db8 commit 25782a3

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

test/integration/test-custom-filename.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ var options = {
1818

1919
var server = http.createServer(function(req, res) {
2020

21-
var form = new IncomingForm();
22-
form.uploadDir = common.dir.tmp;
21+
var form = new IncomingForm({uploadDir: common.dir.tmp});
2322

2423
form.parse(req);
2524

0 commit comments

Comments
 (0)