Skip to content

Commit ac60da7

Browse files
committed
feat: LOAPI-19 added .epub into black-list
1 parent 5477fd5 commit ac60da7

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/validations.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ it.each`
1010

1111
it.each`
1212
filename
13+
${'book.epub'}
1314
${'project.mpp'}
1415
${'email.msg'}
1516
${'image.jpg'}

src/validations.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ const UNSUPPORTED_FILE_EXTENSIONS = [
1212
'.dwg',
1313
'.msg',
1414
'.mpp',
15+
'.epub',
1516
];
1617

1718
export function canBeConvertedToPDF(filename: string): boolean {

0 commit comments

Comments
 (0)