Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(core): workspace context glob respects exclude #22939

Merged
merged 1 commit into from
Apr 22, 2024

Conversation

Coly010
Copy link
Contributor

@Coly010 Coly010 commented Apr 22, 2024

Current Behavior

When passing an exclude pattern to the WorkspaceContext.glob, it will only check for files that exist in the exclude pattern, rather than filtering them out.

image

Expected Behavior

Exclude pattern should filter workspace files correctly

image

Related Issue(s)

Fixes #

@Coly010 Coly010 requested review from a team as code owners April 22, 2024 12:30
@Coly010 Coly010 self-assigned this Apr 22, 2024
@Coly010 Coly010 requested a review from Cammisuli April 22, 2024 12:30
Copy link

vercel bot commented Apr 22, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated (UTC)
nx-dev ⬜️ Ignored (Inspect) Visit Preview Apr 22, 2024 0:31am

@Coly010 Coly010 enabled auto-merge (squash) April 22, 2024 13:11
@Coly010 Coly010 merged commit 6ef17d2 into nrwl:master Apr 22, 2024
6 checks passed
@Coly010 Coly010 deleted the cypress/exclude-spec-pattern branch April 22, 2024 13:59
FrozenPandaz pushed a commit that referenced this pull request Apr 23, 2024
AgentEnder pushed a commit to AgentEnder/nx that referenced this pull request Apr 23, 2024
Copy link

github-actions bot commented May 1, 2024

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants