Skip to content

Commit fa99a95

Browse files
author
Ives van Hoorne
committed
Remove redundant questionmarks
1 parent 1b241e6 commit fa99a95

File tree

1 file changed

+3
-3
lines changed
  • packages/app/src/app/store/modules/files

1 file changed

+3
-3
lines changed

packages/app/src/app/store/modules/files/actions.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@ export async function uploadFiles({ api, props, path }) {
6868

6969
if (
7070
(/\.(j|t)sx?$/.test(filePath) ||
71-
/\.json?$/.test(filePath) ||
72-
/\.html?$/.test(filePath) ||
73-
/\.vue?$/.test(filePath) ||
71+
/\.json$/.test(filePath) ||
72+
/\.html$/.test(filePath) ||
73+
/\.vue$/.test(filePath) ||
7474
file.type.startsWith('text/') ||
7575
file.type === 'application/json') &&
7676
dataURI.length < MAX_FILE_SIZE

0 commit comments

Comments
 (0)