also root
This commit is contained in:
parent
38e081f2cf
commit
6bc692c558
|
|
@ -37,5 +37,5 @@ export function projectFiles(name = projectName()): Dirent[] {
|
|||
}
|
||||
|
||||
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"))
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user