From bacb3dcd88b35f4ff7fad93d721a5397d547f446 Mon Sep 17 00:00:00 2001 From: Chris Wanstrath <2+defunkt@users.noreply.github.com> Date: Mon, 22 Sep 2025 12:47:15 -0700 Subject: [PATCH] wrong way --- src/commands.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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