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

feat(core): handle prettier not installed when running nx format #27970

Merged
merged 1 commit into from
Sep 18, 2024

Conversation

leosvelperez
Copy link
Member

@leosvelperez leosvelperez commented Sep 18, 2024

Current Behavior

When prettier is not installed, running nx format results in an uncaught error.

Expected Behavior

When prettier is not installed, running nx format should handle the error and log a more appropriate message.

Related Issue(s)

Fixes #

@leosvelperez leosvelperez self-assigned this Sep 18, 2024
@leosvelperez leosvelperez requested a review from a team as a code owner September 18, 2024 11:50
Copy link

vercel bot commented Sep 18, 2024

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

1 Skipped Deployment
Name Status Preview Updated (UTC)
nx-dev ⬜️ Ignored (Inspect) Visit Preview Sep 18, 2024 2:10pm

Copy link
Collaborator

@JamesHenry JamesHenry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pending discussion

@leosvelperez leosvelperez requested a review from a team as a code owner September 18, 2024 14:07
@leosvelperez leosvelperez changed the title feat(core): handle gracefully when prettier is not installed when running nx format feat(core): handle prettier not installed when running nx format Sep 18, 2024
@leosvelperez leosvelperez merged commit 50927c2 into master Sep 18, 2024
6 checks passed
@leosvelperez leosvelperez deleted the core/format-handle-no-prettier branch September 18, 2024 15:32
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 Sep 25, 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.

2 participants