1
0
Fork 0
mirror of synced 2024-07-07 23:35:49 +12:00

Fixing linting issue.

This commit is contained in:
mike12345567 2020-10-08 18:36:31 +01:00
parent 552c31a53e
commit a54ca6ac39

View file

@ -1,5 +1,5 @@
const fs = require("fs") const fs = require("fs")
// const sharp = require("sharp") const sharp = require("sharp")
const fsPromises = fs.promises const fsPromises = fs.promises
const FORMATS = { const FORMATS = {
@ -7,14 +7,14 @@ const FORMATS = {
} }
async function processImage(file) { async function processImage(file) {
// const imgMeta = await sharp(file.path) const imgMeta = await sharp(file.path)
// .resize(300) .resize(300)
// .toFile(file.outputPath) .toFile(file.outputPath)
//
// return { return {
// ...file, ...file,
// ...imgMeta, ...imgMeta,
// } }
} }
async function process(file) { async function process(file) {