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): formatter should not fail when absolute paths are provided as "--files" #20331

Merged

Conversation

dmitry-stepanenko
Copy link
Contributor

Current Behavior

When using absolute paths with nx format:write --files=.., checks are being applied to all files in the repository

Expected Behavior

Should only format provided files

Related Issue(s)

Fixes #20272

@dmitry-stepanenko dmitry-stepanenko requested a review from a team as a code owner November 18, 2023 16:31
Copy link

vercel bot commented Nov 18, 2023

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 Nov 19, 2023 6:36am

@dmitry-stepanenko dmitry-stepanenko force-pushed the ds/fix-formatter-absolute-paths branch from e5f0c24 to 8fc501a Compare November 18, 2023 16:32
@dmitry-stepanenko dmitry-stepanenko force-pushed the ds/fix-formatter-absolute-paths branch from 8fc501a to 702258a Compare November 19, 2023 06:35
@dmitry-stepanenko
Copy link
Contributor Author

@AgentEnder can you please take a look at this one 🙏

@AgentEnder AgentEnder merged commit a42d9ab into nrwl:master Jan 10, 2024
Copy link

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 Jan 16, 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.

nx format:write ignores --files argument
2 participants