Dont log undefined

This commit is contained in:
Pytron 2019-03-26 15:18:25 +00:00
parent fecd1ff6c7
commit c8b876a53b
1 changed files with 1 additions and 1 deletions

View File

@ -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)