Skip to content

Commit

Permalink
Merge pull request #332 from shelfio/feature/LOAPI-19-fix-epub
Browse files Browse the repository at this point in the history
LOAPI-19 Added `.xlsx` into black-list
  • Loading branch information
DrewsAbuse authored Feb 14, 2025
2 parents bb3fc26 + 023dd76 commit aa14580
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
${'table.xlsx'}
${'book.epub'}
${'project.mpp'}
${'email.msg'}
Expand Down
1 change: 1 addition & 0 deletions src/validations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ const UNSUPPORTED_FILE_EXTENSIONS = [
'.msg',
'.mpp',
'.epub',
'.xlsx',
];

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

0 comments on commit aa14580

Please sign in to comment.