Skip to content

Commit

Permalink
Revert "Ensure workspaces key exists in parent package.json (facebook…
Browse files Browse the repository at this point in the history
…#3989)"

This reverts commit 47d2d94.
  • Loading branch information
Timer committed Sep 18, 2018
1 parent 0c508a8 commit 1f5c69d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions config/paths.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,6 @@ const getMonorepoPkgPaths = () => {
if (monoPkgPath) {
// get monorepo config from yarn workspace
const pkgPatterns = require(monoPkgPath).workspaces;
if (pkgPatterns == null) {
return [];
}
const pkgPaths = findPkgs(path.dirname(monoPkgPath), pkgPatterns);
// only include monorepo pkgs if app itself is included in monorepo
if (pkgPaths.indexOf(appDirectory) !== -1) {
Expand Down

0 comments on commit 1f5c69d

Please sign in to comment.