We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 472ef14 commit eabf230Copy full SHA for eabf230
src/index.ts
@@ -28,7 +28,10 @@ export default class FictionBookReader extends file2html.Reader {
28
const fileContent: Uint8Array = fileInfo.content;
29
30
return readArchive(fileContent).then((archive: Archive) => {
31
- const previewFile: ArchiveEntry|undefined = archive.file('preview.jpg') || archive.file('QuickLook/Thumbnail.jpg');
+ const previewFile: ArchiveEntry|undefined = (
32
+ archive.file('preview.jpg') ||
33
+ archive.file('QuickLook/Thumbnail.jpg')
34
+ );
35
36
if (!previewFile) {
37
return Promise.reject(new Error(
0 commit comments