From 9d5d08d504c97ac88b168684eadc5c9f947e4f7a Mon Sep 17 00:00:00 2001 From: Rishi Ghan Date: Thu, 21 Oct 2021 09:29:17 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Removed=20path.resolve=20around?= =?UTF-8?q?=20the=20ebook-meta=20targetPath?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/uncompression.utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/uncompression.utils.ts b/utils/uncompression.utils.ts index 09e5842..4542891 100644 --- a/utils/uncompression.utils.ts +++ b/utils/uncompression.utils.ts @@ -91,7 +91,7 @@ export const extractCoverFromFile = async ( const ebookMetaPath = `${process.env.CALIBRE_EBOOK_META_PATH}` || `ebook-meta`; result = await calibre.run( `${ebookMetaPath}`, - [path.resolve(constructedPaths.inputFilePath)], + [constructedPaths.inputFilePath], { getCover: targetCoverImageFilePath, }