Skip to content

Commit 2d163b0

Browse files
committed
refactor: add '.zip' to unsupported file extensions
1 parent f144eee commit 2d163b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/validations.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import isAudio from '@shelf/is-audio-filepath';
22
import isVideo from 'is-video';
33
import isImage from 'is-image';
44

5-
const UNSUPPORTED_FILE_EXTENSIONS = ['.chm', '.heic', '.gdoc', '.gsheet', '.gslides'];
5+
const UNSUPPORTED_FILE_EXTENSIONS = ['.chm', '.heic', '.gdoc', '.gsheet', '.gslides', '.zip'];
66

77
export function canBeConvertedToPDF(filename: string): boolean {
88
filename = filename.toLowerCase();

0 commit comments

Comments
 (0)