This commit is contained in:
Chris Wanstrath 2025-10-01 22:19:35 -07:00
parent c8704cf8fd
commit bab54e74d7

View File

@ -44,10 +44,10 @@ export function commandPath(cmd: string): string | undefined {
]
if (projectName() !== "sys")
paths.concat([
paths = paths.concat(
join(projectBin(), cmd + ".ts"),
join(projectBin(), cmd + ".tsx"),
])
)
return paths.find((path: string) => isFile(path))
}