fix bug
This commit is contained in:
parent
c8704cf8fd
commit
bab54e74d7
|
|
@ -44,10 +44,10 @@ export function commandPath(cmd: string): string | undefined {
|
||||||
]
|
]
|
||||||
|
|
||||||
if (projectName() !== "sys")
|
if (projectName() !== "sys")
|
||||||
paths.concat([
|
paths = paths.concat(
|
||||||
join(projectBin(), cmd + ".ts"),
|
join(projectBin(), cmd + ".ts"),
|
||||||
join(projectBin(), cmd + ".tsx"),
|
join(projectBin(), cmd + ".tsx"),
|
||||||
])
|
)
|
||||||
|
|
||||||
return paths.find((path: string) => isFile(path))
|
return paths.find((path: string) => isFile(path))
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user