Skip to content

Commit

Permalink
Code format
Browse files Browse the repository at this point in the history
  • Loading branch information
beholdr committed Apr 10, 2023
1 parent e1092fc commit c12b5c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mask.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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] ?? ''
}
Expand Down

0 comments on commit c12b5c3

Please sign in to comment.