Dont log undefined
This commit is contained in:
parent
fecd1ff6c7
commit
c8b876a53b
|
@ -153,7 +153,7 @@ function startServer() {
|
||||||
|
|
||||||
let zipfile = pathtools.join(path, 'archive.zip');
|
let zipfile = pathtools.join(path, 'archive.zip');
|
||||||
req.files.archive.mv(zipfile, (err) => {
|
req.files.archive.mv(zipfile, (err) => {
|
||||||
if (err !== null) {
|
if (err != null) {
|
||||||
console.log(err);
|
console.log(err);
|
||||||
}
|
}
|
||||||
fs.createReadStream(zipfile)
|
fs.createReadStream(zipfile)
|
||||||
|
|
Loading…
Reference in New Issue