From 6c0520c526172243a577bc4c7abcb53814b22bbd Mon Sep 17 00:00:00 2001 From: Marvin Sextro Date: Tue, 29 Jun 2021 02:02:53 +0200 Subject: [PATCH] Remove unnecessary function --- src/process.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/process.js b/src/process.js index ab13aed..404833f 100644 --- a/src/process.js +++ b/src/process.js @@ -35,11 +35,6 @@ export async function processJpeg(file) { } export async function processPng(file) { - const png = await readPngAsync(file) - return png -} - -export async function readPngAsync(file) { return new Promise(async (resolve, reject) => { let png = new PNG({ filterType: 4 })