Skip to content

Commit

Permalink
fix(getPackagePaths): avoid files like ng-package.json (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
Badisi committed Mar 26, 2022
1 parent 059deaa commit b8eb1c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/getPackagePaths.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function getPackagePaths(cwd, ignorePackages = null) {
absolute: true,
gitignore: true,
deep: 1,
}).filter((f) => /package.json$/.test(f));
}).filter((f) => /\/package\.json$/.test(f));

// Must have at least one workspace-package.
if (!workspacePackages.length)
Expand Down

0 comments on commit b8eb1c2

Please sign in to comment.