We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d185c9b commit 15be6ddCopy full SHA for 15be6dd
workspaces/config/lib/index.js
@@ -674,7 +674,7 @@ class Config {
674
// then we need to see if `p` is a workspace root by reading its package.json
675
// however, if reading it fails then we should just move on
676
const { content: pkg } = await pkgJson.normalize(p).catch(() => ({ content: {} }))
677
- if (!pkg) {
+ if (!pkg?.workspaces) {
678
continue
679
}
680
0 commit comments