Skip to content

Commit

Permalink
fix(core): do not return a default project when nxJson is undefined (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
FrozenPandaz authored Mar 3, 2023
1 parent 8c1d035 commit 17a0d2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nx/src/config/workspaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export class Workspaces {
});
if (matchingProject) return matchingProject;
}
return nxJson.defaultProject;
return nxJson?.defaultProject;
}

readProjectsConfigurations(opts?: {
Expand Down

1 comment on commit 17a0d2c

@vercel
Copy link

@vercel vercel bot commented on 17a0d2c Mar 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nx-dev – ./

nx-dev-nrwl.vercel.app
nx-dev-git-master-nrwl.vercel.app
nx-five.vercel.app
nx.dev

Please sign in to comment.