Skip to content

Commit 1f5c69d

Browse files
committed
Revert "Ensure workspaces key exists in parent package.json (facebook#3989)"
This reverts commit 47d2d94.
1 parent 0c508a8 commit 1f5c69d

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

config/paths.js

-3
Original file line numberDiff line numberDiff line change
@@ -140,9 +140,6 @@ const getMonorepoPkgPaths = () => {
140140
if (monoPkgPath) {
141141
// get monorepo config from yarn workspace
142142
const pkgPatterns = require(monoPkgPath).workspaces;
143-
if (pkgPatterns == null) {
144-
return [];
145-
}
146143
const pkgPaths = findPkgs(path.dirname(monoPkgPath), pkgPatterns);
147144
// only include monorepo pkgs if app itself is included in monorepo
148145
if (pkgPaths.indexOf(appDirectory) !== -1) {

0 commit comments

Comments
 (0)