aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--misctools/mime.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/misctools/mime.js b/misctools/mime.js
index 27b58a5b7..0ff968918 100644
--- a/misctools/mime.js
+++ b/misctools/mime.js
@@ -15,8 +15,8 @@ for (let key of Object.keys(json).sort()) {
}
const withExtensions = [
- ...new Set([
- ...Object.keys(json)
+ ...new Set(
+ Object.keys(json)
.filter(key => {
return !!json[key]?.extensions?.length;
})
@@ -26,7 +26,7 @@ const withExtensions = [
});
})
.sort(),
- ]),
+ ),
];
all += "\n";