diff --git a/src/commands.ts b/src/commands.ts index b4423af..d783737 100644 --- a/src/commands.ts +++ b/src/commands.ts @@ -22,7 +22,7 @@ export async function findCommands(path: string): Promise { 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