Skip to content

Commit

Permalink
refactor: add '.zip' to unsupported file extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
Siloss committed Aug 25, 2022
1 parent f144eee commit 2d163b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/validations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import isAudio from '@shelf/is-audio-filepath';
import isVideo from 'is-video';
import isImage from 'is-image';

const UNSUPPORTED_FILE_EXTENSIONS = ['.chm', '.heic', '.gdoc', '.gsheet', '.gslides'];
const UNSUPPORTED_FILE_EXTENSIONS = ['.chm', '.heic', '.gdoc', '.gsheet', '.gslides', '.zip'];

export function canBeConvertedToPDF(filename: string): boolean {
filename = filename.toLowerCase();
Expand Down

0 comments on commit 2d163b0

Please sign in to comment.