🔧 Removed path.resolve around the ebook-meta targetPath

This commit is contained in:
2021-10-21 09:29:17 -07:00
parent 668f1a1a70
commit 9d5d08d504

View File

@@ -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,
}