diff --git a/.changeset/lucky-parents-post.md b/.changeset/lucky-parents-post.md new file mode 100644 index 0000000000..e726739c4d --- /dev/null +++ b/.changeset/lucky-parents-post.md @@ -0,0 +1,6 @@ +--- +"@pnpm/fs.find-packages": patch +"pnpm": patch +--- + +Do not hang indefinitely, when there is a glob that starts with `!/` in `pnpm-workspace.yaml`. This fixes a regression introduced by [#9169](https://github.com/pnpm/pnpm/pull/9169). diff --git a/fs/find-packages/src/index.ts b/fs/find-packages/src/index.ts index 07329474e7..c315f872ff 100644 --- a/fs/find-packages/src/index.ts +++ b/fs/find-packages/src/index.ts @@ -69,7 +69,11 @@ export async function findPackages (root: string, opts?: Options): Promise