Skip to content

Commit aa14580

Browse files
authored
Merge pull request #332 from shelfio/feature/LOAPI-19-fix-epub
LOAPI-19 Added `.xlsx` into black-list
2 parents bb3fc26 + 023dd76 commit aa14580

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+
${'table.xlsx'}
1314
${'book.epub'}
1415
${'project.mpp'}
1516
${'email.msg'}

src/validations.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ const UNSUPPORTED_FILE_EXTENSIONS = [
1313
'.msg',
1414
'.mpp',
1515
'.epub',
16+
'.xlsx',
1617
];
1718

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

0 commit comments

Comments
 (0)