mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-19 16:40:48 +00:00
chore(app): cleanup
This commit is contained in:
parent
30f0d3b394
commit
acc53d9f61
1 changed files with 1 additions and 5 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue