more eslint
This commit is contained in:
@ -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";
|
||||
|
Reference in New Issue
Block a user