mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-20 03:47:01 -04:00
more eslint
This commit is contained in:
parent
350e7b0a6a
commit
36f4478a4f
13 changed files with 39 additions and 19 deletions
|
@ -49,7 +49,7 @@ export default definePlugin({
|
|||
|
||||
anonymise(file: string) {
|
||||
let name = "image";
|
||||
const ext = file.match(/\..+$/g) ?? "";
|
||||
const ext = file.match(/\..+$/g)?.[0] ?? "";
|
||||
switch (Settings.plugins.AnonymiseFileNames.method) {
|
||||
case Methods.Random:
|
||||
const chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue