final DeepSource fixes for tonight

pull/20/head
tycrek 3 years ago
parent 648ebc1817
commit 15a8c92186
No known key found for this signature in database
GPG Key ID: 25D74F3943625263

@ -114,9 +114,9 @@ function startup() {
.then(() => Promise.all([Thumbnail(req.file), Vibrant(req.file), Hash(req.file)])) .then(() => Promise.all([Thumbnail(req.file), Vibrant(req.file), Hash(req.file)]))
// skipcq: JS-0086 // skipcq: JS-0086
.then(([thumbnail, vibrant, sha1]) => ( .then(([thumbnail, vibrant, sha1]) => (
req.file.thumbnail = thumbnail, req.file.thumbnail = thumbnail,// skipcq: JS-0090
req.file.vibrant = vibrant, req.file.vibrant = vibrant,// skipcq: JS-0090
req.file.sha1 = sha1 req.file.sha1 = sha1// skipcq: JS-0090
)) ))
// Remove the temp file if using S3 storage, otherwise rename the local file // Remove the temp file if using S3 storage, otherwise rename the local file

Loading…
Cancel
Save