Skip to content

Commit 009d9b0

Browse files
committed
npm run lint:fix
1 parent d378d81 commit 009d9b0

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

addon/components/au-file-upload.gts

+2-8
Original file line numberDiff line numberDiff line change
@@ -144,18 +144,12 @@ export default class AuFileUpload extends Component<AuFileUploadSignature> {
144144
}
145145

146146
if (file.size < this.minFileSizeKB * 1024) {
147-
this.addError(
148-
file,
149-
`Bestand is te klein (min ${this.minFileSizeKB} KB)`,
150-
);
147+
this.addError(file, `Bestand is te klein (min ${this.minFileSizeKB} KB)`);
151148
return false;
152149
}
153150

154151
if (file.size >= this.maxFileSizeMB * Math.pow(1024, 2)) {
155-
this.addError(
156-
file,
157-
`Bestand is te groot (max ${this.maxFileSizeMB} MB)`,
158-
);
152+
this.addError(file, `Bestand is te groot (max ${this.maxFileSizeMB} MB)`);
159153
return false;
160154
}
161155

0 commit comments

Comments
 (0)