wrong way
This commit is contained in:
parent
a57c3ce1c5
commit
bacb3dcd88
|
|
@ -22,7 +22,7 @@ export async function findCommands(path: string): Promise<string[]> {
|
|||
let list: string[] = []
|
||||
|
||||
for await (const file of glob.scan(path)) {
|
||||
list.push(file.replace(".ts", "").replace(".tsx", ""))
|
||||
list.push(file.replace(".tsx", "").replace(".ts", ""))
|
||||
}
|
||||
|
||||
return list
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user