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)