2
0
mirror of https://github.com/tenrok/maska.git synced 2026-06-05 16:42:28 +03:00

Code format

This commit is contained in:
Alexander Shabunevich
2023-04-10 22:26:11 +03:00
parent e1092fcb4b
commit c12b5c3840
+1 -1
View File
@@ -33,7 +33,7 @@ export class Mask {
if (Array.isArray(opts.mask)) {
if (opts.mask.length > 1) {
opts.mask = [...opts.mask].sort((a, b) => a.length - b.length);
opts.mask = [...opts.mask].sort((a, b) => a.length - b.length)
} else {
opts.mask = opts.mask[0] ?? ''
}