Skip to content

Commit

Permalink
feat: LOAPI-19 added .epub into black-list
Browse files Browse the repository at this point in the history
  • Loading branch information
DrewsAbuse committed Feb 10, 2025
1 parent 5477fd5 commit ac60da7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/validations.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ it.each`

it.each`
filename
${'book.epub'}
${'project.mpp'}
${'email.msg'}
${'image.jpg'}
Expand Down
1 change: 1 addition & 0 deletions src/validations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ const UNSUPPORTED_FILE_EXTENSIONS = [
'.dwg',
'.msg',
'.mpp',
'.epub',
];

export function canBeConvertedToPDF(filename: string): boolean {
Expand Down

0 comments on commit ac60da7

Please sign in to comment.