Skip to content

Commit b0ad35e

Browse files
binyellowtoCfe
andauthored
feat: supplement the complete file suffix (#345)
Co-authored-by: branhuang <[email protected]>
1 parent 77f44b8 commit b0ad35e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/attr-accept.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export default (file: RcFile, acceptedFiles: string | string[]) => {
2424

2525
let affixList = [lowerType];
2626
if (lowerType === '.jpg' || lowerType === '.jpeg') {
27-
affixList = ['.jpg', 'jpeg'];
27+
affixList = ['.jpg', '.jpeg'];
2828
}
2929

3030
return affixList.some(affix => lowerFileName.endsWith(affix));

0 commit comments

Comments
 (0)