Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
exKAZUu committed Oct 30, 2023
1 parent 601450f commit 8602e46
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/wb/src/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,8 @@ export function findRootAndSelfProjects(
async function getAllProjects(argv: EnvReaderOptions, rootProject: Project): Promise<Project[]> {
const allProjects = [rootProject];
const packageDirPath = path.join(rootProject.dirPath, 'packages');
if (!fs.existsSync(packageDirPath)) return [];

const packageDirs = await fs.promises.readdir(packageDirPath, { withFileTypes: true });
for (const packageDir of packageDirs) {
if (!packageDir.isDirectory()) continue;
Expand Down

0 comments on commit 8602e46

Please sign in to comment.