Put quotes around log

This commit is contained in:
Matt McWilliams 2023-12-15 20:58:47 -05:00
parent ad1a364de2
commit b8b22ba47d
3 changed files with 3 additions and 3 deletions

2
dist/index.js vendored
View File

@ -69,7 +69,7 @@ function fileFilter(req, file, cb) {
cb(null, true);
}
else {
log.warn(`Filetype ${file.mimetype} is not of type zip`);
log.warn(`Filetype "${file.mimetype}" is not of type zip`);
cb(new Error("Dataset is not of type zip"), false);
}
}

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -47,7 +47,7 @@ function fileFilter (req: any, file: any, cb: any) {
if (accepted.indexOf(file.mimetype) !== -1) {
cb(null, true);
} else {
log.warn(`Filetype ${file.mimetype} is not of type zip`);
log.warn(`Filetype "${file.mimetype}" is not of type zip`);
cb(new Error("Dataset is not of type zip"), false);
}
}