also root

This commit is contained in:
Chris Wanstrath 2025-10-20 15:19:08 -07:00
parent 38e081f2cf
commit 6bc692c558

View File

@ -37,5 +37,5 @@ export function projectFiles(name = projectName()): Dirent[] {
} }
function isProject(path: string): boolean { function isProject(path: string): boolean {
return isFile(join(path, "index.ts")) || isFile(join(path, "index.tsx")) || isDir(join(path, "pub")) return join(NOSE_DIR, "root") === path || isFile(join(path, "index.ts")) || isFile(join(path, "index.tsx")) || isDir(join(path, "pub"))
} }