From c8b876a53bcee509438c35506ee49b0ba1da8f70 Mon Sep 17 00:00:00 2001 From: Pytron Date: Tue, 26 Mar 2019 15:18:25 +0000 Subject: [PATCH] Dont log undefined --- server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.js b/server.js index 493d4aa..ec2d43c 100644 --- a/server.js +++ b/server.js @@ -153,7 +153,7 @@ function startServer() { let zipfile = pathtools.join(path, 'archive.zip'); req.files.archive.mv(zipfile, (err) => { - if (err !== null) { + if (err != null) { console.log(err); } fs.createReadStream(zipfile)