Skip to content

Commit

Permalink
feat: LOAPI-19 added .xlsx into black-list
Browse files Browse the repository at this point in the history
  • Loading branch information
DrewsAbuse committed Feb 13, 2025
1 parent ac60da7 commit 023dd76
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 023dd76

Please sign in to comment.