chore(app): cleanup
This commit is contained in:
@@ -538,11 +538,7 @@ const toOpenVariant = (icon: IconName): IconName => {
|
||||
return icon
|
||||
}
|
||||
|
||||
const basenameOf = (p: string) =>
|
||||
p
|
||||
.replace(/[/\\]+$/, "")
|
||||
.split(/[\\/]/)
|
||||
.pop() ?? ""
|
||||
const basenameOf = (p: string) => p.split("\\").join("/").split("/").filter(Boolean).pop() ?? ""
|
||||
|
||||
const folderNameVariants = (name: string) => {
|
||||
const n = name.toLowerCase()
|
||||
|
||||
Reference in New Issue
Block a user