🔧 Removed path.resolve around the ebook-meta targetPath
This commit is contained in:
@@ -91,7 +91,7 @@ export const extractCoverFromFile = async (
|
|||||||
const ebookMetaPath = `${process.env.CALIBRE_EBOOK_META_PATH}` || `ebook-meta`;
|
const ebookMetaPath = `${process.env.CALIBRE_EBOOK_META_PATH}` || `ebook-meta`;
|
||||||
result = await calibre.run(
|
result = await calibre.run(
|
||||||
`${ebookMetaPath}`,
|
`${ebookMetaPath}`,
|
||||||
[path.resolve(constructedPaths.inputFilePath)],
|
[constructedPaths.inputFilePath],
|
||||||
{
|
{
|
||||||
getCover: targetCoverImageFilePath,
|
getCover: targetCoverImageFilePath,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user