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 debceaf commit 98600cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/wb/src/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ 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 [];
if (!fs.existsSync(packageDirPath)) return allProjects;

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

0 comments on commit 98600cb

Please sign in to comment.