From 859d7c4cf46c483e05eb8b5cd09f297600d14a40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kornel=20Lesin=CC=81ski?= Date: Fri, 18 Nov 2016 19:03:13 +0000 Subject: [PATCH] Node 7 deprecation warning --- lib/incoming_form.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/incoming_form.js b/lib/incoming_form.js index e3c8019a..4a839012 100644 --- a/lib/incoming_form.js +++ b/lib/incoming_form.js @@ -26,7 +26,7 @@ function IncomingForm(opts) { this.maxFields = opts.maxFields || 1000; this.maxFieldsSize = opts.maxFieldsSize || 2 * 1024 * 1024; this.keepExtensions = opts.keepExtensions || false; - this.uploadDir = opts.uploadDir || os.tmpDir(); + this.uploadDir = opts.uploadDir || os.tmpdir(); this.encoding = opts.encoding || 'utf-8'; this.headers = null; this.type = null;