Skip to content

Commit 25563c6

Browse files
committed
Run lint
1 parent e2e7d2d commit 25563c6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/attachment.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@ export default class Attachment {
4040
}
4141

4242
isImage(): boolean {
43-
return ['image/gif', 'image/png', 'image/jpg', 'image/jpeg', 'image/svg+xml', 'image/webp'].indexOf(this.file.type) > -1
43+
return (
44+
['image/gif', 'image/png', 'image/jpg', 'image/jpeg', 'image/svg+xml', 'image/webp'].indexOf(this.file.type) > -1
45+
)
4446
}
4547

4648
isVideo(): boolean {

0 commit comments

Comments
 (0)